-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove browser_options in DEFAULT_OPTIONS #67
Comments
I've also encountered this problem. Had to override the constant |
Sounds like we need a way not to apply default options, I'll try to solve it |
from my perspective, we, probably, can allow to manage
if you think so, we can, probably, proceed with the approach, like: allow to set any of @peter50216 , @sebyx07 , @route WDYT? |
smth like Ferrum::Browser.new(browser_options: Ferrum::Browser::ChromeOptions.except('disable-web-security').merge({'load-extension' = nil}) so if you don't need advanced stuff you will just
|
Currently the
DEFAULT_OPTIONS
inlib/ferrum/browser/chrome.rb
can't be removed by the options given toFerrum::Browser.new
. Is there any way to do that?The problem I'm facing is that some website check the "origin" HTTP header on the server side, and with "--disable-web-security" Chrome doesn't send the origin header at all.
Workaround I'm using now is:
The text was updated successfully, but these errors were encountered: