Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-618

Problem with the chrome driver with Robot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Casablanca Release
    • Amsterdam Release
    • None
    • None
    • OOM Sprint 10 - Integration

       

      1. WebDriverException: Message: unknown error: an X display is required for keycode conversions, consider using Xvfb (Session info: headless chrome=63.0.3239.132) (Driver info: chromedriver=2.29.461571

       

       

      On the chrome driver.

       

      I think I worked around it by installing an alternate chrome version in the container.

      Using part of a fix that Gary has in integration – basically using the 2.32 version instead of the version in the container.

       

      1. install chrome driver

      if [ ! -x ${ROBOT_VENV}/bin/chromedriver ]; then

          pushd ${ROBOT_VENV}/bin

          wget -N http://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip

          unzip chromedriver_linux64.zip

          chmod +x chromedriver

          popd

      fi

            adetalhouet adetalhouet
            adetalhouet adetalhouet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: