Replies: 3 comments 6 replies
-
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 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@fanantoxa Did you succeed to load extension finally? |
Beta Was this translation helpful? Give feedback.
5 replies
-
Got a bit further using a string instead of an array. Needs the browser_options: {
"load-extension" => react_devtools_path,
"disable-extensions-except" => react_devtools_path
} The next problem is that the test runs in incognito mode and the extension isn't allowed in incognito mode. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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:
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?Beta Was this translation helpful? Give feedback.
All reactions