

Install all libraries you have used in your code using pip. Step6: Install necessary python libraries

Replace your username and repo name in command. Use git commands to fetch your git repository. $unzip chromedriver_linu圆4.zip $sudo mv chromedriver /usr/bin/chromedriverįirst you have to be in ec2-user directory. Best statergy here is to browse the internet and use this version number to get appropriate linux chrome driver and replace below command link. $curl | bash $sudo mv /usr/bin/google-chrome-stable /usr/bin/google-chrome $google-chrome - version & which google-chromeĪbove code will print chrome version. You can go wrong if you don’t follow these steps carefully.įirst move to root directory and enter following commands The choice is yours i’m using chrome browser and chrome webdriver here.It’s important here to download browser first then identify it’s version and then install chromedriver for that particular browser version. Replace 3.7 with whatever version python3 you installed. Step3: Create virtual environment with python3 and activate that environment. Step2: Install python3 ,pip,Git and virtualenv However, you are free to utilize any other Selenium compatible driver you wish.Step1: Start new screen and become root user Instead, Dusk uses a standalone ChromeDriver installation. By default, Dusk does not require you to install JDK or Selenium on your local computer. Laravel Dusk provides an expressive, easy-to-use browser automation and testing API.
