| ... | ... | @@ -11,9 +11,11 @@ pip3 install robotframework robot framework-seleniumlibrary |
|
|
|
|
|
|
|
Get the latest driver for your browser. This example shows how to do it for Chrome and Firefox. Use command wget <the link to the driver> to download the driver.
|
|
|
|
|
|
|
|
**Chromedriver is very sensitive about the driver's version. It needs to match the browser's one.**
|
|
|
|
|
|
|
|
```
|
|
|
|
wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
|
|
|
|
wget https://chromedriver.storage.googleapis.com/2.29/chromedriver_linux64.zip
|
|
|
|
wget https://chromedriver.storage.googleapis.com/75.0.3770.140/chromedriver_linux64.zip
|
|
|
|
```
|
|
|
|
|
|
|
|
Check/Get the latest versions from the websites below:
|
| ... | ... | @@ -43,11 +45,21 @@ sudo mv geckodriver /usr/local/bin |
|
|
|
sudo mv chromedriver /usr/local/bin
|
|
|
|
```
|
|
|
|
|
|
|
|
Chrome also needs Chromium-browser, which can be installed with:
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo apt-get install chromium-browser
|
|
|
|
```
|
|
|
|
|
|
|
|
Reboot Ubuntu
|
|
|
|
|
|
|
|
To test that the installation was successful:
|
|
|
|
|
|
|
|
CTRL+ALT+T to open a new terminal
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo apt-get install curl
|
|
|
|
|
|
|
|
mkdir robot-tests && cd robot-tests
|
|
|
|
curl https://pastebin.com/raw/hQr4zavE > test.robot &&
|
|
|
|
robot test.robot
|
| ... | ... | |
| ... | ... | |