aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/webdriver/tests/execute_script/arguments.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/webdriver/tests/execute_script/arguments.py')
-rw-r--r--tests/wpt/web-platform-tests/webdriver/tests/execute_script/arguments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/webdriver/tests/execute_script/arguments.py b/tests/wpt/web-platform-tests/webdriver/tests/execute_script/arguments.py
index 53c49aaa689..b8657ce0efa 100644
--- a/tests/wpt/web-platform-tests/webdriver/tests/execute_script/arguments.py
+++ b/tests/wpt/web-platform-tests/webdriver/tests/execute_script/arguments.py
@@ -47,7 +47,7 @@ def test_object(session):
def test_no_such_element_with_invalid_value(session):
- element = Element("foo", session)
+ element = Element(session, "foo")
result = execute_script(session, "return true;", args=[element])
assert_error(result, "no such element")