Rework webdriver session (#38225)

Reimplement webdriver session for better match to spec:

- Add `create_session`:
[spec](https://www.w3.org/TR/webdriver2/#dfn-create-a-session)
- Refactor `handle_new_session`
- Replace `PageLoadStrategy` string by enum

---------

Signed-off-by: batu_hoang <hoang.binh.trong@huawei.com>
This commit is contained in:
batu_hoang 2025-07-28 18:14:14 +08:00 committed by GitHub
parent ae69646371
commit f5ee72f89a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 314 additions and 202 deletions

View file

@ -1,21 +0,0 @@
[create_alwaysMatch.py]
[test_valid[timeouts-value12\]]
expected: FAIL
[test_valid[strictFileInteractability-True\]]
expected: FAIL
[test_valid[test:extension-False\]]
expected: FAIL
[test_valid[test:extension-abc\]]
expected: FAIL
[test_valid[test:extension-123\]]
expected: FAIL
[test_valid[test:extension-value22\]]
expected: FAIL
[test_valid[test:extension-value23\]]
expected: FAIL

View file

@ -1,21 +0,0 @@
[create_firstMatch.py]
[test_valid[timeouts-value12\]]
expected: FAIL
[test_valid[strictFileInteractability-True\]]
expected: FAIL
[test_valid[test:extension-False\]]
expected: FAIL
[test_valid[test:extension-abc\]]
expected: FAIL
[test_valid[test:extension-123\]]
expected: FAIL
[test_valid[test:extension-value22\]]
expected: FAIL
[test_valid[test:extension-value23\]]
expected: FAIL