Skip to content
Snippets Groups Projects
Commit ca039060 authored by tuhe's avatar tuhe
Browse files

CICD

parent f305f38e
No related branches found
No related tags found
No related merge requests found
Pipeline #8687 failed
......@@ -10,7 +10,7 @@ before_script:
# - export DISPLAY=:2
# - Xvfb $DISPLAY -ac &
- apt install firefox-geckodriver
# - apt install firefox-geckodriver
# - export GECKO_DRIVER_VERSION='v0.31.0'
# - wget https://github.com/mozilla/geckodriver/releases/download/$GECKO_DRIVER_VERSION/geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz
# - tar -xvzf geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz
......
......@@ -93,8 +93,9 @@ class LearnConfig:
options.log.level = "trace"
d = DesiredCapabilities.FIREFOX
d['loggingPrefs'] = {'browser': 'ALL'}
print("making driver.")
driver = webdriver.Firefox(options=options, desired_capabilities=d)
print("made driver")
driver = webdriver.Firefox()
# with requests.session() as s:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment