DigitalOcean Referral Badge
Udit Vashisht
Author: Udit Vashisht


How to install selenium on Macbook Pro/Macbook Air?

  • Less than a minute read
  • 370 Views
How to install selenium on Macbook Pro/Macbook Air?

    Table of Contents

How to install Selenium on Macbook Pro/Macbook Air?

In this tutorial we will learn, how to install selenium on all Mac devices like iMac, Macbook Pro, Mac Mini, Macbook Air with intel or M1/M1 Pro/ M1 Max chipset.

Install Selenium using pip

  1. First of all you need to have python installed to your system. You can check out our posts to install latest version of Python on your
    Mac/Linux or Windows PC

  2. Thereafter, it is advisable to check the version of Python installed on your machine. You can do that by using either of the following commands in your terminal

python3 --version
python3 -v

SCR-20220513-mzb.png

  1. Then, you might need to update your pip using
pip3 install --upgrade pip

install-selenium-on-mac-pip-upgrade.png

  1. After completing the above steps, you are ready to install selenium using the following command :
pip3 install selenium
  1. To check, whether selenium is installed, open python in terminal/bash and import selenium and if there is no error, selenium is successfully installed on your machine
python3 
import selenium

install-selenium-python.gif


Related Posts

How to install Python 3 on MacOS and Linux?
By Udit Vashisht

In this post, we will learn the various ways of installing Python 3 on MacOS or Linux.

Installing on MacOS
MacOS X and above comes with the legacy version of Python i.e. Python 2.7 out of the box. This can be checked by adding the following code in terminal:-

...

Read More
How to install Python3 on Windows PC?
By Udit Vashisht

In this Post we will be learning how to install python on our Windows PC. First of all we need to be sure whether we are using 32-bit system or 64-bit. To find it out, right click on ‘This PC’ icon on your desktop and click ‘properties’, there you will ...

Read More
Search
Tags
tech tutorials automate python beautifulsoup web scrapping webscrapping bs4 Strip Python3 programming Pythonanywhere free Online Hosting hindi til github today i learned Windows Installations Installation Learn Python in Hindi Python Tutorials Beginners macos installation guide linux SaralGyaan Saral Gyaan json in python JSON to CSV Convert json to csv python in hindi convert json csv in python remove background python mini projects background removal remove.bg tweepy Django Django tutorials Django for beginners Django Free tutorials Proxy Models User Models AbstractUser UserModel convert json to csv python json to csv python Variables Python cheats Quick tips == and is f string in python f-strings pep-498 formatting in python python f string smtplib python send email with attachment python send email automated emails python python send email gmail automated email sending passwords secrets environment variables if name == main Matplotlib tutorial Matplotlib lists pandas Scatter Plot Time Series Data Live plots Matplotlib Subplots Matplotlib Candlesticks plots Tutorial Logging unittest testing python test Object Oriented Programming Python OOP Database Database Migration Python 3.8 Walrus Operator Data Analysis Pandas Dataframe Pandas Series Dataframe index pandas index python pandas tutorial python pandas python pandas dataframe python f-strings padding how to flatten a nested json nested json to csv json to csv python pandas Pandas Tutorial insert rows pandas pandas append list line charts line plots in python Django proxy user model django custom user model django user model matplotlib marker size pytplot legends scatter plot python pandas python virtual environment virtualenv venv python python venv virtual environment in python python decorators bioinformatics fastafiles Fasta python list append append raspberry pi editor cron crontab Cowin Cowin api python dictionary Python basics dictionary python list list ios development listview navigationview swiftui ios mvvm swift environmentobject property wrapper @State @Environm popup @State ios15 alert automation instagram instaloader texteditor youtubeshorts textfield multi-line star rating reusable swift selenium selenium driver requests-html youtube youtube shorts python automation python tutorial algo trading nifty 50 nifty50 stock list nifty50 telegram telegram bot dictionary in Python