Answer the question
In order to leave comments, you need to log in
Error when running UI tests (python + selenium + pytest) on gitlab-ci?
Hey! I'm trying to run tests on gitlab-ci , but I get an error from the following code ( in this job ):
driver = EventFiringWebDriver(webdriver.Remote(command_executor="http://selenium__standalone-chrome:4444/wd/hub"), MyListener(get_logger()))
MyListener(get_logger())
is used to create a logger - wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
- tar -xvzf geckodriver-v0.26.0-linux64.tar.gz
- chmod +x geckodriver
wd = webdriver.Remote(command_executor="http://selenium__standalone-firefox:4444/wd/hub",
desired_capabilities={'browserName': 'firefox'})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question