kaliiiiiiiiii / Selenium-Driverless

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

how to prevent extension to load on seleniumdriverless #245

Closed ahmedabdelhamedz closed 2 weeks ago

ahmedabdelhamedz commented 2 weeks 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://google.com', wait_load=True) await driver.sleep(0.5) input()

asyncio.run(main())

there is an extension load at the browser automatically i want to prevent any extension to load to avoid detection

kaliiiiiiiiii commented 2 weeks ago

The extension is i there to support proxies properly and gets added by driverless. I'm pretty sure that there's no way to detect it.

If you still believe that the extension gets detected, you can create a POC (proof of concept, has to be reproducible) for that and open a new-issue