Derpitron / Discord-OTP-Forcer

Selenium based discord OTP forcer
GNU Affero General Public License v3.0
43 stars 12 forks source link

Chromedriver error? #1

Closed ovhx closed 2 years ago

ovhx commented 2 years ago

====== WebDriver manager ====== Current google-chrome version is 101.0.4951 Get LATEST chromedriver version for 101.0.4951 google-chrome Driver [/home/colab/.wdm/drivers/chromedriver/linux64/101.0.4951.41/chromedriver] found in cache main.py:15: DeprecationWarning: executable_path has been deprecated, please pass in a Service object driver = webdriver.Chrome(ChromeDriverManager().install()) Traceback (most recent call last): File "main.py", line 15, in driver = webdriver.Chrome(ChromeDriverManager().install()) File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 73, in init service_log_path, service, keep_alive) File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/chromium/webdriver.py", line 99, in init options=options) File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 269, in init self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 360, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 425, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Stacktrace:

0 0x5579c4a04533

1 0x5579c47631e8

2 0x5579c478654a

3 0x5579c4781c4a

4 0x5579c47bcd0a

5 0x5579c47b6e33

6 0x5579c478c71a

7 0x5579c478d875

8 0x5579c4a48e1d

9 0x5579c4a4c751

10 0x5579c4a3307e

11 0x5579c4a4d388

12 0x5579c4a27fe0

13 0x5579c4a69748

14 0x5579c4a698c8

15 0x5579c4a8370d

16 0x7fc7b21746db

Derpitron commented 2 years ago

What platform are you using? From the looks of it, you're using Linux. I have developed my script on a Windows machine, so I cannot solve this problem. I just tested my script, and it works fine for me.

My script uses a Python package called webdriver_manager, which manages the installation of Chrome web drivers automatically. Your error is related to that package, so I suggest you raise this issue with the developer of it 🙂

ovhx commented 2 years ago

I'll try it on a Windows machine then and I will let you know

ovhx commented 2 years ago

Sorry for the late reply but yea it works on windows