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] Subclass options classes from a common base class #6522

Merged
merged 3 commits into from
Jan 4, 2019

Conversation

lmtierney
Copy link
Member

@lmtierney lmtierney commented Oct 11, 2018

An ABC was used to ensure that to_capabilities was implemented. This method allows us to pass just the options class to RemoteWebDriver and not have to worry about capabilities.


This change is Reviewable

@lmtierney
Copy link
Member Author

@Dude-x

@lmtierney
Copy link
Member Author

Safari options class will be added after I talk with @burg

@AutomatedTester
Copy link
Member

from a quick look through this looks great


from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from ..common.options import ArgOptions
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason for the relative import instead of absolute?

Copy link
Member Author

Choose a reason for hiding this comment

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

Habit, I can change it to absolute

@lmtierney lmtierney merged commit 4f3df20 into SeleniumHQ:master Jan 4, 2019
shs96c pushed a commit to shs96c/selenium that referenced this pull request Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants