You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few months ago we started using enable_bidi in chrome options to work around an issue with chrome where in selenium tests we could not capture a "are you sure you want to leave this page, you have unsaved changes" type alert.
Adding enable_bidi had the annoying side effect of adding the bidi tab where all log messages appeared but that was okay, our tests worked.
Today they no longer work (we cannot see or capture the alert on leaving page, chrome never shows it) and enable_bidi does not appear to create the bidi tab either.
fromselenium.webdriverimportChrome, ChromeOptionsfromselenium.webdriver.chrome.serviceimportServiceasChromeServiceimporttimeif__name__=="__main__":
options=ChromeOptions()
options.enable_bidi=Truedriver=Chrome(
options=options,
service=ChromeService(executable_path="/usr/local/bin/chromedriver"),
)
driver.get("https://www.example.com/")
# No bidi tab which is what I am expecting heretime.sleep(5)
driver.close()
driver.quit()
Seemed to start with chrome 137, chrome 136 works as before according to colleagues.
The text was updated successfully, but these errors were encountered:
In python, selenium==4.29.0 chrome = Version 137.0.7151.55 (Official Build) (64-bit) on linux.
chromedriver --version
ChromeDriver 137.0.7151.55 (254bc711794d7ad269495f3d419a209935b78cad-refs/branch-heads/7151@{#1757})
A few months ago we started using enable_bidi in chrome options to work around an issue with chrome where in selenium tests we could not capture a "are you sure you want to leave this page, you have unsaved changes" type alert.
Adding enable_bidi had the annoying side effect of adding the bidi tab where all log messages appeared but that was okay, our tests worked.
Today they no longer work (we cannot see or capture the alert on leaving page, chrome never shows it) and enable_bidi does not appear to create the bidi tab either.
Seemed to start with chrome 137, chrome 136 works as before according to colleagues.
The text was updated successfully, but these errors were encountered: