Description
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.
from selenium.webdriver import Chrome, ChromeOptions
from selenium.webdriver.chrome.service import Service as ChromeService
import time
if __name__ == "__main__":
options = ChromeOptions()
options.enable_bidi = True
driver = 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 here
time.sleep(5)
driver.close()
driver.quit()
Seemed to start with chrome 137, chrome 136 works as before according to colleagues.