Skip to content

How to load chrome extensions? #191

@fanantoxa

Description

@fanantoxa

Hey! I've found problem that I can't resolve by myself. Could you take a look please?

There are extensions in google chrome. Sometime in tests it's very useful to have some like react/redux devtools (or other) to debug bug in application.
Currently when I run test with cuprite (not heedlessly) extensions setting is disabled (so I can't install any).
Also with Selenium::WebDriver::Chrome I'm able to load .crx (file that can be downloaded from store)
Like:

Selenium::WebDriver::Chrome::Options.new.tap do |options|
  options.add_extension(<extension_path>)
end

and pass it to the Capybara::Selenium::Driver as options.

Is there any way how I can load Chrome with .crx extensions using cuprite driver?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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