Skip to content

Browser did not produce websocket #281

Description

@Hanaffi

Hello,
We are getting the mentioned error on our CI when we try to adapt Cuprite.
Ferrum::ProcessTimeoutError: Browser did not produce websocket url within 10 second

I don't know why does it say 10 seconds even though Im passing timeout as 300 !

 Capybara.register_driver(:cuprite) do |app|
  Capybara::Cuprite::Driver.new(
      app,
      js_errors: true,
      headless: %w[0 false].exclude?(ENV["HEADLESS"]),
      slowmo: ENV["SLOWMO"]&.to_f,
      process_timeout: 300,
      timeout: 300,
      browser_options: { "no-sandbox" => true } 
    )
end

Please help, thanks 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions