kaliiiiiiiiii / Selenium-Driverless

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

abrahamjuliot.github.io/creepjs low trust factor #179

Closed FreeM1ne closed 2 months ago

FreeM1ne commented 4 months ago

Surprisingly, the undetected playwright patch has a much higher level of trust than other browser management solutions https://abrahamjuliot.github.io/creepjs/

kaliiiiiiiiii commented 4 months ago

Yeah I did notice that as well. Really couldn't figure out why tho:(

Does this apply for new (incognito) contexts with driverless as well?

FreeM1ne commented 4 months ago

nope

FreeM1ne commented 4 months ago

What cookie formats does your driver accept?

kaliiiiiiiiii commented 4 months ago

What cookie formats does your driver accept?

see https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-Cookie

kaliiiiiiiiii commented 2 months ago

Driverless image undetected-playwright-python image

On Win10, Google-Chrome-123

Script used ```python from selenium_driverless import webdriver from undetected_playwright.async_api import async_playwright, Playwright import asyncio async def run_pw(): async with async_playwright() as playwright: args = ["--start-maximized"] # disable navigator.webdriver:true flag args.append("--disable-blink-features=AutomationControlled") browser = await playwright.chromium.launch(headless=False,args=args, channel="chrome") page = await browser.new_page() await page.goto("https://abrahamjuliot.github.io/creepjs/") while True: await asyncio.sleep(1) async def run_driverless(): options = webdriver.ChromeOptions() async with webdriver.Chrome(options=options) as driver: context = await driver.new_context() await context.maximize_window() await context.get("https://abrahamjuliot.github.io/creepjs/") while True: await asyncio.sleep(1) async def main(): await asyncio.gather(run_pw(), run_driverless()) asyncio.run(main()) ```

@FreeM1ne Do you get similar results?

In the meantime, I'll close this as 4% more or less don't seem that relevant to me