You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Activity
route commentedon Apr 8, 2022
Hi! I think the easiest thing to do is to use this flag while running Chrome and you can pass them to the browser using https://github.com/rubycdp/ferrum#customization and
:browser_optionshash.tetienne commentedon Aug 22, 2022
@fanantoxa Did you succeed to load extension finally?