-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(unknown error: DevToolsActivePort file doesn't exist) #18
Comments
Hi @vtroussel, I haven't come across this issue but there are some threads where others have solved this issue:
My suggestion would be:
If that doesn't work, you could try these lines (instead of --headless):
And finally if that doesn't work, you could try updating Let me know if any of these work for you, so we can find a way to prevent it from happening for others. |
I finally managed to make it work with :
|
@vtroussel curious - did you have to do anything else to authentication to work headless? I tried those 3 lines, but it seems that authentication fails for me when I do |
@jcontini I modified the "ENTER" input as a button click. Also augmented the time.sleep but I don't think that is where the problem was coming from.
|
Awesome, thank you @vtroussel ! This worked for me too. I've used this code to make it headless by default, and it seems to run faster. Appreciate you sharing this, let me know if any other ideas for improvements or feel free to do a pull request. |
I managed to fix it with --headless argument on ChromeOptions but i believe it's causing the authentication process to fail at https://m.facebook.com/.
Any other way to fix it?
The text was updated successfully, but these errors were encountered: