Configure Playwright Python Tests: pytest.ini, pyproject.toml and conftest.py
Configure Playwright Python tests: addopts and base_url in pytest.ini or pyproject.toml, and browser_context_args and timeouts in conftest.py.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Configure Playwright Python tests: addopts and base_url in pytest.ini or pyproject.toml, and browser_context_args and timeouts in conftest.py.
pytest-playwright CLI options explained: browsers, headed mode, slow motion, devices, screenshots, videos, traces, base URL and pytest flags.
Write your first Playwright pytest test: the page fixture, expect assertions, a login test, negative tests, discovery rules and reading failures.
Your first Playwright Python script with sync_playwright: browser, context and page, filling a form, reading text, screenshots and clean shutdown.
Set up Playwright with Python step by step: virtual environment, pip install pytest-playwright, playwright install browsers and VS Code.
What Playwright for Python is, how it drives Chromium, Firefox and WebKit, sync vs async API, and why testers pair it with pytest-playwright.
We are testing the blog
Python Features Python Installation PyCharm Configuration Python Variables Python Data Types Python If Else Python Loops Python Strings Python Lists Python Tuples Python List Vs Tuple…
Python Features Python Installation PyCharm Configuration Python Variables Python Data Types Python If Else Python Loops Python Strings Python Lists Python Tuples Python List Vs Tuple…
Learn Python generators: the yield keyword, generator functions vs normal functions, generator expressions, memory savings, pipelines, and yield from.
Learn Python decorators: functions as objects, wrappers, the @ syntax, functools.wraps, decorators with arguments, and real uses like timing and retries.
Learn the Python os module and pathlib: create and list folders, walk directory trees, build paths, rename and delete files, and read environment variables.
Take free timed mock tests with answers and explanations.