Skip to content
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

[py] Don't override browser options with desired capabilities by defa… #6814

Merged
merged 1 commit into from
Jan 4, 2019

Conversation

carlosgcampos
Copy link
Contributor

@carlosgcampos carlosgcampos commented Jan 4, 2019

…ult in WebKitGTK

When desired_capabilities parameter is omitted in WebKitGTK driver, the
default capabilities are used. If options are also passed they are
updated from desired capabilities, overriding the passed options. The
desired_capabalities parameter should default to None instead.


This change is Reviewable

from selenium.webdriver.remote.webdriver import WebDriver as RemoteWebDriver
from .service import Service

from .options import Options
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you address the flake8 error here? Then we can merge.

@lmtierney lmtierney added the C-py label Jan 4, 2019
…ult in WebKitGTK

When desired_capabilities parameter is omitted in WebKitGTK driver, the
default capabilities are used. If options are also passed they are
updated from desired capabilities, overriding the passed options. The
desired_capabalities parameter should default to None instead.
@lmtierney lmtierney merged commit a920faa into SeleniumHQ:master Jan 4, 2019
@lmtierney
Copy link
Member

Merged, thank you!

@carlosgcampos carlosgcampos deleted the webkitgtk-capabilities branch January 4, 2019 16:27
shs96c pushed a commit to shs96c/selenium that referenced this pull request Feb 18, 2019
…ult in WebKitGTK (SeleniumHQ#6814)

When desired_capabilities parameter is omitted in WebKitGTK driver, the
default capabilities are used. If options are also passed they are
updated from desired capabilities, overriding the passed options. The
desired_capabalities parameter should default to None instead.
@bphd
Copy link

bphd commented Jun 19, 2023

WebKitGTK is now the only browser that can't run without any options, producing an error asking about desired capabilities. Is that because of you?

@titusfortner
Copy link
Member

@bphd please file a bug report if you believe the code is not doing what it should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants