![]() I’m using a brand new 2020 Macbook Air and it has the out of date v2.x installed so go ahead and install the latest 3. Install ChromeDriver with brew cask install geckodriver Mention the path while initiating the driver: driver webdriver.Firefox(executablepath/your/path/to/geckodriver. You can head over to the Geckodriver project page and download the latest package or you can use Homebrew. Previously, my testing was done in Selenium IDE but you really need to automate this for cross-browser testing which is why you’ll need to download and install Selenium on your Mac. ![]() As in Windows, we do not need to configure any path of the file in Mac. Once downloaded, extract the file and save the geckodriver.exe file to the /usr/local/bin location. Then click on the link corresponding to Mac OS. In the Supported platforms page, click on geckodriver releases link. Selenium is great for Automated Testing - I thought I’d revisit my old testing tools and so this is an update for 2020 to cover basics of installing Selenium, Geckodriver (for testing Firefox) with Python on a Mac. Click on the Documentation link below Firefox.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |