You can also add the google ChromeDriver executable file path in the OS PATH environment variable value, then you can run google chrome web browser like below.> browser = webdriver.Chrome(executable_path = '/Users/songzhao/Downloads/chromedriver') # The executable_path is the google chromedriver executable file saved path. If you see a blank google chrome web browser, that means the google ChromeDriver has been installed successfully, you can use it in your python selenium script. Verify the google ChromeDriver installation by executing the below python script in the python interaction console.Location: /Library/Frameworks/amework/Versions/3.7/lib/python3.7/site-packages (base) songs-MacBook-Pro:~ songzhao$ pip show selenium Requirement already satisfied: urllib3 in /Library/Frameworks/amework/Versions/3.7/lib/python3.7/site-packages (from selenium) (1.25.3) (base) songs-MacBook-Pro:~ songzhao$ pip install seleniumĭownloading 圓-none-any.whl (904 kB)
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |