![]() You can download a driver from any of the following pages: As a parameter, you need to pass the path where your browser is, and the path should include the executable file itself.Īlternatively, if you don’t know where your browser is or can’t find it, you can download a Browser Driver, a browser. In this example, I am using the Google Chrome browser however, selenium supports other browsers such as Edge, Firefox, and Safari. Next, you will create an instance of the browser. Your_browser_path = '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'ĭriver = webdriver.Chrome(your_browser_path)įirst, you need to import selenium (line 1).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |