ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
10.08k stars 1.17k forks source link

NODRIVER - how can i connect remoter browser like gologin browser with nodriver package #1887

Open pythondeveloperz opened 6 months ago

pythondeveloperz commented 6 months ago

NODRIVER - how can i connect remoter browser like gologin browser with nodriver package

Menmaz commented 2 months ago

`import asyncio from nodriver import *

async def main():

config = Config(user_data_dir=r"path_pro5_here")
browser = await start(config=config)
tab = await browser.get('chrome://version')
await tab.sleep(1000000)

if name == 'main':

# since asyncio.run never worked (for me)
loop().run_until_complete(main())`