The simplest way to run python headless test with Chrome on Ubuntu

preview_player
Показать описание
Python headless test with Chrome on Ubuntu

tech environment:

- latest python 3.7
- Chromedriver 2.41
- selenium (3.14.0)
- Ubuntu 18.04
- Chrome 69
- Katalon studio

step 1 python and selenium module

pip install -U selenium

step 2 Chrome and chromedriver

step 3 Run headless tests with Chrome

from selenium import webdriver

chrome_options = webdriver.ChromeOptions()

step 4 Customize the headless script

Please answer what would you do if you have: several free week and a home computer?

---------------------------------------------------------------------------------------------------------------------------------------------------------------
Code store

Socials

If you really find this channel useful and enjoy the content, you're welcome to support me and this channel with a small donation via PayPal.

Рекомендации по теме
Комментарии
Автор

in ubuntu python 2.7 or is not working. but it is working in windows any idea sir. please help me i struck with this from 3 days

noorbasha