-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] stuck on about:blank
with chrome~=130
#272
Comments
@Skyceer please provide the script you used. UPDATE: |
set_window_size
fails on chrome~=130
The problem is not just with from selenium_driverless import webdriver
from selenium_driverless.types.by import By
import asyncio
async def main():
options = webdriver.ChromeOptions()
async with webdriver.Chrome(options=options) as driver:
await driver.get('http://nowsecure.nl#relax', wait_load=True)
await driver.sleep(0.5)
await driver.wait_for_cdp("Page.domContentEventFired", timeout=15)
# wait 10s for elem to exist
elem = await driver.find_element(By.XPATH, '/html/body/div[2]/div/main/p[2]/a', timeout=10)
await elem.click(move_to=True)
alert = await driver.switch_to.alert
print(alert.text)
await alert.accept()
print(await driver.title)
asyncio.run(main()) Browser with about:blank link is launched, the script tries to open the link but gets an exception
The problem occurs on several machines after updating chrome to version 130 |
set_window_size
fails on chrome~=130about:blank
for chrome~=130
about:blank
for chrome~=130about:blank
with chrome~=130
@Skyceer Can't reproduce that on the tested on Win10, |
Even the main machine: second machine: The problem is observed on two envs after upgrading chrome to version 130 tested on the example from readme |
Might be the cause |
after chrome update Selenium-Driverless stopped working on version 130
Traceback
also does not open pages with error asyncio.exceptions.TimeoutError
on version < 130 everything works fine
The text was updated successfully, but these errors were encountered: