I want to connect to a chrome browser that i have started with the launch command
await launch(headless=False, \
executablePath ="C:/Program Files/Google/Chrome/Application/chrome.exe",\
args=["--remote-debugging-port=9222"])
with the connect command
browser=await pyppeteer.connect(browserURL='http://127.0.0.1:9222')
but it looks that this is not right.
if i open the browser with command line
chrome_path = 'C:/Program Files/Google/Chrome/Application/chrome.exe '
cmdCommand = chrome_path + " --remote-debugging-port=9222"
subprocess.Popen(cmdCommand.split(), stdout=subprocess.PIPE)
then pyppeteer.connect works fine.