Setup Robot Framework with Browser Library on Ubuntu 20.04

Mustafa Mašetić
5 min readDec 25, 2021
Robot Framework

Robot Framework for Testautomation supports various technology stacks through Library extensions. Robot framework is written in Python, so therefor we need python installation and pip package manager. Browser Library is a wrapper around Playwright framework which is written in Javascript using nodejs. To setup Robot framework on fresh OS installation the list of tools and packages to be installed goes like this:

  • Python with pip
  • Nodejs with npm
  • Visual Studio Code

Python installation

OS Environment in my case is Ubuntu 20.04 and we gonna follow installation guide for Linux, but similar principal can be followed with Windows or Mac OS.

On some OS distributions you will find python already installed. Usually it is python 2.7 version. On my Ubuntu installation I have python 3.8 installed which is compatible version for robot framework. In some cases it is recommended to use newest version of python, but if you plan to use some libraries you should check if they are compatible with newest version of python and robot framework. Currently active version of python is 3.10.1.

To find new Python installation we go to Python Downloads. Current version can vary and if you follow this guide…

--

--

Mustafa Mašetić
Mustafa Mašetić

Written by Mustafa Mašetić

Test automation engineer interested in Playwright, Robot Framework, Selenium and CI/CD.

Responses (1)