Bug 1371709 - Fix typo in module name, r=ato
MozReview-Commit-ID: DJFdq6eSd9T
--- a/testing/web-platform/tests/webdriver/support/fixtures.py
+++ b/testing/web-platform/tests/webdriver/support/fixtures.py
@@ -121,17 +121,17 @@ def session(configuration, request):
does not demand that we start a new session per test."""
global _current_session
if _current_session is None:
_current_session = webdriver.Session(configuration["host"],
configuration["port"],
capabilities={"alwaysMatch": configuration["capabilities"]})
try:
_current_session.start()
- except webdriver.errors.SessionNotCreatedException:
+ except webdriver.error.SessionNotCreatedException:
if not _current_session.session_id:
raise
# finalisers are popped off a stack,
# making their ordering reverse
request.addfinalizer(lambda: _switch_to_top_level_browsing_context(_current_session))
request.addfinalizer(lambda: _restore_windows(_current_session))
request.addfinalizer(lambda: _dismiss_user_prompts(_current_session))