diff options
Diffstat (limited to 'testing/web-platform/tests/webdriver/tests/classic/is_element_enabled/user_prompts.py')
-rw-r--r-- | testing/web-platform/tests/webdriver/tests/classic/is_element_enabled/user_prompts.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/testing/web-platform/tests/webdriver/tests/classic/is_element_enabled/user_prompts.py b/testing/web-platform/tests/webdriver/tests/classic/is_element_enabled/user_prompts.py index 5dd7d582bd..a3af947d51 100644 --- a/testing/web-platform/tests/webdriver/tests/classic/is_element_enabled/user_prompts.py +++ b/testing/web-platform/tests/webdriver/tests/classic/is_element_enabled/user_prompts.py @@ -3,16 +3,7 @@ import pytest from tests.support.asserts import assert_error, assert_dialog_handled, assert_success - - -def is_element_enabled(session, element_id): - return session.transport.send( - "GET", - "session/{session_id}/element/{element_id}/enabled".format( - session_id=session.session_id, - element_id=element_id - ) - ) +from . import is_element_enabled @pytest.fixture |