Running Selenium::WebDriver::Firefox inside Xvfb from ruby as NON-root user

后端 未结 3 1322
失恋的感觉
失恋的感觉 2021-01-05 11:41

I\'m trying to do some headless testing using a ruby script. Essentially I\'m executing Xvfb on display :1, and then firing up Watir::Browser.new(:firefox) usi

3条回答
  •  半阙折子戏
    2021-01-05 12:37

    Hi don't know if this link could be a help for you. This helped me a lot. I needed to run watir-webdriver automatically at startup/reboot - it worked for me (read the comments as well).

提交回复
热议问题