Selenium - sgml/signature GitHub Wiki
<?xml version="1.0" encoding="UTF-8"?>
<TestCase seleniumIDEVersion="1.0.7" baseURL="http://mywebsite/">
<selenese>
<command>open</command>
<target><![CDATA[/?p=1337]]></target>
<value><![CDATA[]]></value>
</selenese>
<selenese>
<command>assertTextPresent</command>
<target><![CDATA[future success]]></target>
<value><![CDATA[]]></value>
</selenese>
<!--this is a selenium comment-->
<selenese>
<command>clickAndWait</command>
<target><![CDATA[link=companies]]></target>
<value><![CDATA[]]></value>
</selenese>
<selenese>
<command>type</command>
<target><![CDATA[inputSearch]]></target>
<value><![CDATA[awesome]]></value>
</selenese>
</TestCase>
firefox.exe -start-debugger-server 9222
from selenium import webdriver from selenium.webdriver.common.keys import Keys import time def attach_to_browser(browser_name): options = None if browser_name == "chrome": options = webdriver.ChromeOptions() options.add_experimental_option("debuggerAddress", "127.0.0.1:9222") driver = webdriver.Chrome(options=options) elif browser_name == "firefox": options = webdriver.FirefoxOptions() options.set_preference("devtools.debugger.remote-enabled", True) options.set_preference("devtools.debugger.prompt-connection", False) driver = webdriver.Firefox(options=options) elif browser_name == "edge": options = webdriver.EdgeOptions() options.add_experimental_option("debuggerAddress", "127.0.0.1:9222") driver = webdriver.Edge(options=options) else: raise ValueError("Unsupported browser!") return driver def scroll_page(driver): body = driver.find_element_by_tag_name('body') while True: body.send_keys(Keys.PAGE_DOWN) time.sleep(15) if __name__ == "__main__": browser_name = input("Enter the browser name (chrome, firefox, edge): ").lower() driver = attach_to_browser(browser_name) scroll_page(driver)
https://developers.google.com/web/tools/puppeteer/troubleshooting
https://github.com/MicrosoftDocs/Virtualization-Documentation/issues/214
https://robotninja.com/blog/introduction-using-selenium-docker-containers-end-end-testing/
https://sandro-keil.de/blog/selenium-grid-in-minutes-with-docker/
https://hub.docker.com/r/smartie19889/selenium https://dzone.com/articles/deploying-selenium-grid-using-docker
https://medium.com/@aandryashin/selenium-on-windows-docker-revolution-f5a7eab205ad
https://www.slideshare.net/IvanKroutov/windows-browsers-how-to-run-them-in-docker-containers
https://www.jamesbaum.co.uk/blether/set-up-internet-explorer-virtual-machines-access-docker/
https://robotninja.com/blog/introduction-using-selenium-docker-containers-end-end-testing/
https://docs.docker.com/v17.09/engine/userguide/networking/#use-a-proxy-server-with-containers
https://github.com/SeleniumHQ/docker-selenium
https://www.qatouch.com/blog/how-to-run-selenium-webdriver-with-docker/
https://www.kenst.com/2018/09/how-to-run-your-selenium-tests-headlessly-in-docker/
https://examples.javacodegeeks.com/core-java/selenium-grid-docker-tutorial/
- http://kprakobkit.github.io/how-to-setup-selenium-webdriver-to-run-in-ie-on-a-mac/
- https://openedx.atlassian.net/wiki/spaces/TE/pages/11108687/Virtual+Machines+for+Internet+Explorer
- https://www.viget.com/articles/set-up-a-windows-10-virtual-machine-and-browser-test-ie-11-and-edge-on-mac/
- https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/10142843/
- https://stackoverflow.com/questions/46671365/automate-infinitely-scrolling-webpage-using-selenium-web-driver-in-java
- https://automationtrekker.home.blog/2019/02/02/test-case-and-page-object-creation-using-record-and-playback/
- https://stackoverflow.com/questions/6875876/selenium-ide-pass-a-variable-to-open-url
- https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/app-synthetic-monitor/SaaS/using/Build-WebDriver-Scripts.html
- https://github.com/search?o=asc&q=selenese+xml+utf-8+cdata+testcase+type+seleniumideversion&s=indexed&type=Code
- https://wiki.saucelabs.com/display/DOCS/Annotating+Tests+with+Selenium%27s+JavaScript+Executor
- https://stackoverflow.com/questions/12380454/how-to-setup-ie-webdriver-on-a-remote-box
- https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Your_own_automation_environment
- https://github.com/americanexpress/jest-image-snapshot/issues/36
- https://marmelab.com/blog/2016/04/19/e2e-testing-with-node-and-es6.html
- https://www.swtestacademy.com/xpath-selenium/
- https://appiumpro.com/editions/20
- https://blog.mozilla.org/fxtesteng/2013/09/26/writing-reliable-locators-for-selenium-and-webdriver-tests/
- https://stackoverflow.com/questions/18150593/selenium-multiple-tabs-at-once
- https://www.testingexcellence.com/open-new-tab-browser-using-selenium-webdriver-java/
- https://www.guru99.com/execute-javascript-selenium-webdriver.html
- http://www.mythoughts.co.in/2013/02/executing-javascript-using-selenium.html
- http://yizeng.me/2014/04/08/get-text-from-hidden-elements-using-selenium-webdriver/
- https://stackoverflow.com/questions/45692603/selenium-and-react-js
- https://moduscreate.com/blog/automated-tests-for-react-js-web-apps-using-webdriverio/
- https://marmelab.com/blog/2016/04/19/e2e-testing-with-node-and-es6.html
- https://www.slideshare.net/horrorgr/isomorphic-react-apps-testing
- https://medium.com/the-mission/end-to-end-e2e-testing-react-apps-with-selenium-webdriver-and-node-js-is-easier-than-you-think-bfa71f289786
- https://codeburst.io/composable-end-to-end-tests-for-react-apps-2ec82170af62
- https://medium.com/the-mission/end-to-end-e2e-testing-react-apps-with-selenium-webdriver-and-node-js-is-easier-than-you-think-bfa71f289786
- https://www.reddit.com/r/selenium/comments/3py4u7/anybody_testing_against_reactjs_we_are_having/
- https://blog.syncano.io/testing-syncano/
- https://marmelab.com/blog/2016/04/19/e2e-testing-with-node-and-es6.html
- https://wiki.saucelabs.com/display/DOCS/Front+End+Performance+Metrics+Reference