Check failed: ReceiveFixedMessage(fds, kZygoteBootMessage, sizeof(kZygoteBootMessage), &boot_pid). The -no-sandbox option evades this error that would normally stop you:įailed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted Then, edit your test setup file (for me, spec/rails_helper.rb):Ĭapybara.register_driver :selenium do |app|Ĭhrome_options = Selenium::WebDriver::Chrome:: do |o|Ĭapybara::Selenium::Driver.new(app, browser: :chrome, options: chrome_options) # Disclaimer: You may not actually need all of these Using Selenium ( selenium-webdriver) with Chromium was the trick.įirst, modify your Dockerfile to install the package dependencies: Won't work properly on Alpine Linux as documented here. Unfortunately, its dependency phantomjs freezes and generally
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |