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

后端 未结 3 1313
失恋的感觉
失恋的感觉 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:28

    You should also take a look at Ruby wrapper for Xvfb http://rubygems.org/gems/headless

提交回复
热议问题