Запуск селен на Firefox с помощью Gitlab CI - PullRequest
0 голосов
/ 18 мая 2019

Я пытаюсь запустить код pytest, используя selenium / firefox, используя gitlab, и я получил

 :Exceptions:
         - WebDriverException : Raised either when it can't start the service
           or when it can't connect to the service

внутри файла .gitlab-ci.yml:

Test:
  image: python:3.7
  stage: Test
  script:
    - echo "testing"
    - pip install selenium
    - pip install pytest
    - pip install webdriver
    - pytest sample.py
  services:
    - name: selenium/standalone-firefox
      alias: selenium

что мне нужноизменить?

...