starvur.blogg.se

Install selenium on linux
Install selenium on linux





install selenium on linux install selenium on linux

Sample requirment.txt (copy everything into notepad, save as requirement.txt) Sudo ln -s python3.7 python First Install PIP and required libraries Mv /usr/local/bin/python3.7 /usr/bin/python Mv /usr/bin/python2.7 /usr/bin/python_old Python3.7 - version Please do not execute below commands as yum will be stopped. This will help to make sure python 3 installed If you will search - Stackoverflow and everyone suggesting to move python location using below commands. Reason is, Default python path still link to Python2.7 Python - version or python3 - version will not give required version Please do not install using - yum install -y python3 - It will install python 3.6* Which Python will give location as /usr/bin Now install python 3.7 Python -V or python - version (will give python version as 2.7.5) Once OS confirmed as Centos - Check Python is installed or not - By default many Linux virtual instance dependent on python and having python 2.7.5 preinstalled. OS version will help to search future references because if we execute Ubuntu commands on CentOS - it will not work Video: Once able to access Cloud instance Please follow below steps. Make sure you can access same from your Windows Desktop/Laptop.Create free tier google Virtual Machine or Amazon EC2 Instance.Execute Selenium Code on Cloud Virtual Instance/Amazon EC2 and remove dependencies of Local physical Desktops - with same reference we Install Python 3.7 on Virtual Instance/Amazon EC2 when Python 2.7 already installed Followed following high-level steps.







Install selenium on linux