kaliiiiiiiiii / Selenium-Driverless

undetected Selenium without usage of chromedriver
https://kaliiiiiiiiii.github.io/Selenium-Driverless/
Other
545 stars 66 forks source link

Page.domContentEventFired ERROR #246

Closed ahmedabdelhamedz closed 3 months ago

ahmedabdelhamedz commented 3 months ago

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('https://nowsecure.nl#relax', wait_load=True) await driver.sleep(0.5) await driver.wait_for_cdp("Page.domContentEventFired",timeout=60) print(await driver.title)

asyncio.run(main())

await driver.wait_for_cdp("Page.domContentEventFired",timeout=60) THIS LINE not work automatically i tried to increase the time out more than 1 min the same result but when i write any link by myself in the browser it work can i know the reason

kaliiiiiiiiii commented 3 months ago

just leave it out then.

kaliiiiiiiiii commented 3 months ago

@ahmedabdelhamedz please don't open any further issues unless there's an actual bug! Otherwise, I'll have to block you from interacting with this repository.

ahmedabdelhamedz commented 3 months ago

@ahmedabdelhamedz please don't open any further issues unless there's an actual bug! Otherwise, I'll have to block you from interacting with this repository.

okay bro please can you send me the reference of documenting for driverless becuase i didnt find it in the files please