YouTube-Viewer: WebDriverException error
Is there an existing issue for this?
- I have searched the existing issues
I’m submitting a …
- bug report
- feature request
- support request --> Contact me over mail for support https://github.com/MShawon
Description
what is the solution of WebDriverException error,
Environment
- OS : windows 10
- Python : 9.9.4
- Script version : latest
config.json
{
"http_api": {
"enabled": true,
"host": "0.0.0.0",
"port": 5000
},
"database": true,
"views": 500,
"minimum": 85.0,
"maximum": 95.0,
"proxy": {
"category": "r",
"proxy_type": "http",
"filename": "p1",
"authentication": false,
"proxy_api": false,
"refresh": 0.0
},
"background": false,
"bandwidth": false,
"playback_speed": 1,
"max_threads": 5,
"min_threads": 2
}
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (2 by maintainers)
Okay , so I figured it out. I’m running on an aws ec2 instance linux, which doesn’t have display hardware and you can’t run premium proxies on headless, which makes sense.
So basically I followed these instructions:
https://stackoverflow.com/questions/50642308/webdriverexception-unknown-error-devtoolsactiveport-file-doesnt-exist-while-t
https://stackoverflow.com/questions/8805032/xvfb-run-error-in-ubuntu-11-04