Writing Selenium Tests Directly in the Browser
summary
A Chrome extension named Autotester implements the WebDriver HTTP protocol inside Chromium so you can run Selenium-style tests written in JavaScript in another tab without installing Selenium, Java, Node, or chromedriver. It translates Selenium commands to the same WebSocket calls ChromeDriver uses, adds custom commands for testing extensions, can mock network responses via the webRequest API, and can forward commands to remote Selenium farms; it currently works only in Chromium and does not yet implement all WebDriver commands.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 3:37Talk outline
- 6:58Selenium tests mechanics
- 11:35Implementation problems and solutions
- 12:58Extension demo
- 15:50New approach benefits
- 19:03Limitations and future plans
- 23:23Testing psychology
- 24:49Summary and call to action
- 27:00Q&A
related talks
29mNext level of Front end testing with Devtools and WebDriver
44mNext Gen Front end testing with DevTools and WebDriver
38mModern Web Testing: Going Beyond Selenium
55mModern Web Testing: Going Beyond Selenium
46mTest Automation with Selenium WebDriver, Java, and JUnit
37mAutomated Performance Testing With WebDriver
47mTest Automation with Selenium 5 and Java
43mWebDriver: Controlling your Web Browser
