gives an error:
traceback (most recent call last):
File "C: \ Users \ Lenovo \ Desktop \ Hacker's Tools \ Core \ Chromedriver \ Main.py", Line 31, In & Lt; Module & GT;
Driver = WebDriver.chrome (executable_path = r "C: \ Users \ Lenovo \ Desktop \ Hacker's Tools \ Core \ chromedriver.exe")
File "C: \ Users \ Lenovo \ AppData \ Local \ Programs \ Python \ Python39 \ Lib \ Site-Packages \ Selenium \ WebDriver \ Chrome \ WebDriver.py", Line 73, In __init__
Self.Service.start ()
File "C: \ Users \ Lenovo \ AppData \ Local \ Programs \ Python \ Python39 \ Lib \ Site-Packages \ Selenium \ WebDriver \ COMMON \ SERVICE.PY", LINE 81, IN START
Raise WebDriverException (
Selenium.comMon.Exceptions.WebDriverException: Message: 'Chromedriver.exe' Executable Needs to Be in Path. Please see https://sites.google.com/a/chromium.org/chromedriver/home.
Answer 1, Authority 100%
leave the answer, because The search does not show Number of comments.
Error arises due to the fact that the full path to Chromedriver
Despite the fact that it is in the same directory as and main.py
Causeing it.
And to hide the bar, the Chrome browser controls the automated test software. ” You need to specify options:
options.add_experimental_option ("EXCLUDESWITCHES", ["Enable-Automation])
options.add_experimental_option ('UseAutomationExtension', False)