Robot Framework Installation For Mac OS
How to install Robot Framework on Mac OS:
- Install Python
- Install PIP
- Install Robot Framework
- Install Selenium library
- Install browser drivers
Step # 1 — Install Python
1. Open web https://www.python.org/downloads/
2. Download python 3 and double click on the installer to Install and follow the instructions.
3. Once installation was successful, next step should verify the successful installation of python 3,Run below command
python --version
Step # 2 — Install PIP
Input command and then password in terminal
sudo easy_install pip
if cannot install PIP >> Use the following command to download pip directly,
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
and execute the downloaded file
python3 get-pip.py
Verify the installation of pip by running
pip3 --version or pip --version
Step # 3— Install Robot Framework
pip install robotframework
Step # 4— Install Selenium library
pip install robotframework-Selenium2Library
Step # 5— Install browser drivers
Install Brew before install browser driver
— Brew is package manager for macOS —
- Open web https://brew.sh
2. Go to brew.sh and copy link under “Install Homebrew” and paste in terminal and then input password
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"