- selenium : install selenium
pip install selenium
- download Google Chrome from here
- Firstly find the version of your Google Chrome Browser
- Settings > Advanced > About Chrome
Note down the chrome version Example
78.0.3904.97
- Settings > Advanced > About Chrome
Note down the chrome version Example
- Go to Chrome Driver Downloads and download the driver that matches your Browser version
- Open
main.py
in an appropriate text editor and replace theexecutable_path
in line 16driver = webdriver.Chrome(executable_path=r"C:\Users\Rahul\PaidProjects\Personal\GrayBot-Uv1\chromedriver.exe",options=options)
to the one that matches the chromedriver.exe on your system - Now you can simply run the code on the console by typing
python main.py