mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision 7a767a52741f628430ffbbed46e7f3df68ba3534
Fixes #15648.
This commit is contained in:
parent
a1e4c547f0
commit
4fadf9b0b6
1184 changed files with 22551 additions and 9856 deletions
|
@ -1,3 +1,4 @@
|
|||
import json
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
@ -13,8 +14,9 @@ default_port = "4444"
|
|||
def _session(request):
|
||||
host = os.environ.get("WD_HOST", default_host)
|
||||
port = int(os.environ.get("WD_PORT", default_port))
|
||||
capabilities = json.loads(os.environ.get("WD_CAPABILITIES", "{}"))
|
||||
|
||||
session = webdriver.Session(host, port)
|
||||
session = webdriver.Session(host, port, desired_capabilities=capabilities)
|
||||
|
||||
def destroy():
|
||||
if session.session_id is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue