Read and Verify Web Tables with Playwright Python (Rows, Columns, Sorting, Pagination)
Read and verify HTML tables in Playwright Python: headers, rows as dictionaries, find a row by cell, columns by header name, sorting checks and pagination.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Read and verify HTML tables in Playwright Python: headers, rows as dictionaries, find a row by cell, columns by header name, sorting checks and pagination.
Handle JavaScript alert, confirm and prompt dialogs, work inside iframes with frame_locator, and control popups and new tabs in Playwright Python.
Playwright Python actions: click variants, fill vs press_sequentially, keys, check, select_option, dates, hover, drag and drop and actionability.
CSS and XPath selectors in Playwright Python: ids, classes, attributes, combinators, :has-text, :has, :visible, XPath axes and when to prefer get_by_role.
Master Playwright Python locators: get_by_role, get_by_label, get_by_text and get_by_test_id, filtering and chaining, strictness errors and shadow DOM.
Extend pytest for Playwright: install and disable plugins, add a --env option with pytest_addoption, auto-mark tests, and screenshot failures with a hook.
Configure pytest for Playwright suites: config file precedence, rootdir, addopts, discovery rules, filterwarnings, live logging, required_plugins and env vars.
Control and tag pytest tests with markers: skip, skipif, xfail and strict xfail, custom smoke and regression markers, registering them and running with -m.
Use @pytest.mark.parametrize to run one Playwright test with many inputs: multiple arguments, readable ids, pytest.param, stacking and fixture params.
Learn how conftest.py shares pytest fixtures across folders, how nested conftest files override fixtures, and how to organise conftest for Playwright suites.
Master pytest fixtures for Playwright tests: setup and teardown with yield, function, module and session scope, autouse, factory fixtures and built-ins.
Learn pytest from scratch: how it finds tests, plain assert with detailed failure messages, pytest.raises, pytest.approx, outcomes, exit codes and CLI flags.
Take free timed mock tests with answers and explanations.