Files
sousa-gecko/testing/web-platform/mozilla/tests/webdriver/harness
Henrik Skupin 8421ed468d Bug 2050357 - [wdspec] Update Mozilla-specific tests for the new geckodriver fixture handling. r=jdescottes
The bidi_session, session, and current_session fixtures are overridden
to use the dedicated geckodriver instance. This allows all upstream
fixtures (top_context, new_tab, install_webextension, use_pref, etc.)
to work transparently with the custom geckodriver session.

A @pytest.mark.geckodriver(allow_system_access=True) marker controls
system access, and @pytest.mark.capabilities({...}) allows per-test
capability overrides. Capability changes trigger a session restart
without restarting the geckodriver process.

All tests using @pytest.mark.allow_system_access or manual geckodriver
setup for system access are updated to use the new markers and fixtures.

Differential Revision: https://phabricator.services.mozilla.com/D308872
2026-07-02 12:31:17 +00:00
..