Selenium can have a be used to perform many automatic checks.

The first step is to install and load the RSelenium package

We launch a selenium server with a Firefox browser in a controlled mode.
This can take quite some time the first time but after it will load in a few seconds.

here is the command:

At the end of the process, it should open a firefox window like this one

Then we’ll grab the instance to be able to control our browser

It’s now possible to send action to our browser. 
Let’s open a website URL

You will notice the robot head icon which means that it is a remote-controlled browser

Here are some useful commands:


When you are done with it, don’t forget to 

Otherwise, it’s gonna be a mess when you’ll get back on it

* *