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

Use selenium 3.4.0 #73

Merged
merged 4 commits into from Aug 23, 2017

Conversation

jvervaec
Copy link
Member

#72

FYI, it looks a number of the BrowserDriver constructors have been deprecated in selenium 3. Probably should also deprecate those in the darcy browser factories, but let me know what you think.

SessionNotFoundexception was previously depricated and then removed
in Selenium 3.0.0
It should technically be backwards compatibile if your automation project
only references darcy apis.  But if you were still referencing
selenium-rc, that's going to break.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 33.62% when pulling 61dd915 on jvervaec:use-selenium-3.4.0 into 56ca37c on darcy-framework:master.

@alechenninger alechenninger requested review from abocz and removed request for abocz August 13, 2017 21:04
@@ -37,6 +38,7 @@
@Before
public void checkForDriver() {
assumeTrue(System.getProperty("java.class.path").contains("firefox-driver"));
assumeNotNull(System.getProperty("webdriver.gecko.driver"));
Copy link
Member

Choose a reason for hiding this comment

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

Worth adding a test for gecko driver?

Copy link
Member Author

Choose a reason for hiding this comment

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

The FirefoxBrowserFactoryTest does run and pass if you run it in an environment with the geckodriver binary installed. I got the impression that wasn't possible in travis environment, so I treated it the same as ChromeDriver, IEDriver, etc. Happy to fix it if I misunderstood.

@alechenninger
Copy link
Member

alechenninger commented Aug 22, 2017 via email

@alechenninger
Copy link
Member

Thanks!

@alechenninger alechenninger merged commit 6adec38 into darcy-framework:master Aug 23, 2017
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

4 participants