Skip to content

Commit 1ed0b66

Browse files
committed
change to url
1 parent ab70b15 commit 1ed0b66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/test/selenium/webdriver/common/bidi_browsing_context_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,8 +767,8 @@ def on_history_updated(info):
767767
assert callback_id is not None
768768

769769
context_id = driver.current_window_handle
770-
url1 = pages.url("simpleTest.html")
771-
driver.browsing_context.navigate(context=context_id, url=url1, wait=ReadinessState.COMPLETE)
770+
url = pages.url("simpleTest.html")
771+
driver.browsing_context.navigate(context=context_id, url=url, wait=ReadinessState.COMPLETE)
772772

773773
# Use history.pushState to trigger history updated event
774774
driver.script.execute("() => { history.pushState({}, '', '/new-path'); }")

0 commit comments

Comments
 (0)