How to Install Selenium WebDriver on MacOS? Last Updated : 21 Sep, 2021 Comments Improve Suggest changes Like Article Like Report In this article, we will learn how to install Selenium WebDriver in Python on macOS. Selenium WebDriver is a web framework that permits you to execute cross-browser tests. This tool is used for automating web-based application testing to verify that it performs expectedly. Installation Procedure: Follow the below steps to install Selenium WebDriver on macOS: Step 1: Install the latest Python3 in MacOS Step 2: Download and install the latest Chrome and check your Chrome version from "chrome://settings/help" Step 3: Download the Chrome WebDriver Zip File matching with your Chrome version and Apple Chip from here and extract the chromedriver. Step 4: Copy the chromedriver and paste it to "/usr/local/bin" (If this folder doesn't exist then create one) Step 5: Open a terminal inside the bin folder and run the following command so that MacOS can verify the app. xattr -d com.apple.quarantine chromedriver Step 6: Upgrade your pip to avoid errors during installation. pip3 install --upgrade pip Step 7: Install selenium library via pip. pip3 install selenium Verifying the Installation: Run the python code below in your system and it should open up "https://geeksforgeeks.org" in your chrome browser automatically. Python3 from selenium import webdriver import time # Main Function if __name__ == '__main__': options = webdriver.ChromeOptions() options.add_argument("--start-maximized") options.add_argument('--log-level=3') # Provide the path of chromedriver present on your system. driver = webdriver.Chrome(executable_path="chromedriver", chrome_options=options) driver.set_window_size(1920,1080) # Send a get request to the url driver.get('https://www.geeksforgeeks.org/') time.sleep(60) driver.quit() print("Done") Browser Output: Chrome Browser Terminal Output: Terminal Comment More infoAdvertise with us Next Article How to Install Selenium WebDriver on MacOS? A anilabhadatta Follow Improve Article Tags : TechTips How To Installation Guide Blogathon Software Testing Selenium Blogathon-2021 Python-selenium how-to-install +5 More Similar Reads How to Install Selenium WebDriver on Windows for Java? Selenium is an open-source tool for automating testing of web applications which is free and it supports various programming languages such as C#, Java, Perl, PHP, Python, and Ruby. Selenium Webdriver is most well known or you can say famed with Java as of now. In this article, we will look into how 3 min read Selenium WebDriver-Installation Selenium WebDriver is a powerful tool for automating web applications for testing purposes. It allows developers and testers to write automated tests in various programming languages like Java, Python, C#, etc. Also, it supports different browsers like Firefox, Chrome, Edge, etc. for testing. Approa 2 min read How to Install Wireshark on MacOS? Wireshark is computer software that is used for capturing and analyzing data packets, it is a powerful cyber security tool and is widely used by cyber security engineers for troubleshooting network problems. It was first released in 1998 and the stable release was in 2022. It is written in C and C++ 2 min read How to Install Weka on MacOS? Weka is computer software and its full form is Waikato Environment for Knowledge Analysis, it was built to fulfil the purpose of data mining and it is used in the field of data science. It is open-source software that is built using Java programming language. It is free and can be run on different p 2 min read How to install Solidity on macOS? Solidity is a programming language used for writing smart contracts for many platforms of blockchain, the most common of which is ethereum. It is an object-based programming language that runs on EVM (Ethereum Virtual Machine) which executes the smart contracts. Below are the steps to install solidi 2 min read Like