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

Overload static DesiredCapabilities methods with version parameter #288

Closed
wants to merge 1 commit into from
Closed

Conversation

jvanderwee
Copy link

I find that a very common pattern of code is:

DesiredCapabilities caps = DesiredCapabilities.firefox();
caps.setVersion("33.1.1");

Overloading the static DesiredCapabilities method with a version parameter would enable this to be replaced with:

DesiredCapabilities caps = DesiredCapabilities.firefox("33.1.1");

I have signed the CLA.

@jvanderwee jvanderwee closed this Jan 9, 2015
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.

1 participant