Learn selenium
Short lessons written around the screening tests employers use. Read one, then take the test.
Choosing locators and waits that keep tests stableHow to pick reliable locators with id, CSS and XPath, and how to replace sleeps with explicit waits to stop flaky tests.Lesson 1
Frames, alerts, windows, exceptions and the Page Object ModelHow to switch context into frames, alerts and new tabs, what common exceptions mean, and how page objects keep tests maintainable.Lesson 2
Interacting with forms, dropdowns, keyboard and mouse actionsFill inputs, pick options with Select, handle checkboxes and radio buttons, and use ActionChains for hover, drag and keyboard shortcuts.Lesson 3
Structuring tests with pytest: fixtures, assertions, screenshots and headless runsSet up and tear down the browser with fixtures, write assertions that explain failures, save screenshots on failure and run headless in CI.Lesson 4
Advertisement