We need a working Python interpreter with the Robot Framework installed. To run tests with real browsers, we are also going to use the robotframework-seleniumlibrary and the webdrivermanager utilities. To record videos of our tests, we are going to need the robotframework-screencaplibrary library. robotframework, robotframework-seleniumlibrary, robotframework-screencaplibrary, and webdrivermanager can be installed with pip, in the same way as all other Python dependencies:
$ pip install robotframework robotframework-seleniumlibrary webdrivermanager robotframework-screencaplibrary
The examples have been written on Python 3.7, robotframework 3.2.2, robotframework-seleniumlibrary 4.5.0, robotframework-screencaplibrary 1.5.0, and webdrivermanager 0.9.0, but should work on most modern Python versions.
You can find the code present in this chapter on GitHub at https://github.com/PacktPublishing/Crafting-Test-Driven-Software-with-Python/tree/main/Chapter12.