I am not copying chromedriver.exe manually but still script is working fine.
But, install steps says that copying chromedriver.exe is required and mandatory.
Is it optional in recent builds ? If not, how script is passing without copying this .exe?
Cleared cache (before this deleted previous pycharm project folder), Windows 10 OS
Installed Python 3.11.3
Installed Pycharm community edition b 2023.1.3 231.9161.41
Launched pycharm terminal. (it showed (env) .. prompt automatically.
here ran
pip install selenium
, it passedclosed and relaunched Pycharm
tried following selenium-python script and its passing
import time from selenium import webdriver driver = webdriver.Chrome() driver.get("https://www.google.com/") time.sleep(5) driver.close()
Query: when chromedriver.exe
is not copied manually (which is MUST), how script is passing and from where its getting chromedriver.exe
?