Open Lars-Albinsson opened 2 years ago
I found a solution, thorugh stack overflow. This works (for me=
new_params = [
"--window-size=800x600",
"--user-agent=MyUserAgent",
"start-maximized",
"disable-infobars"
"--disable-extensions",
"--disable-gpu",
"--disable-dev-shm-usage",
"--no-sandbox"
]
driver = create_driver(new_params)
driver.get("https://www.google.com")
return driver.page_source
Uploaded and tried the layer and python test code. Got this error. Is the file DevToolsActivePort missing from this kit or is it supposed to come from somewhere else?
[ERROR] WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist)