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
Use selenium 3.4.0 #73
Conversation
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.
@@ -37,6 +38,7 @@ | |||
@Before | |||
public void checkForDriver() { | |||
assumeTrue(System.getProperty("java.class.path").contains("firefox-driver")); | |||
assumeNotNull(System.getProperty("webdriver.gecko.driver")); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Oh no you're fine, I misunderstood the check! My bad. I'll merge next I get
to a PC.
…On Tue, Aug 22, 2017, 4:47 PM Jimmy VerVaecke ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In src/test/java/com/redhat/darcy/webdriver/FirefoxBrowserFactoryTest.java
<#73 (comment)>
:
> @@ -37,6 +38,7 @@
@before
public void checkForDriver() {
assumeTrue(System.getProperty("java.class.path").contains("firefox-driver"));
+ assumeNotNull(System.getProperty("webdriver.gecko.driver"));
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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADVabz1GepeoMZn9P_jCFIbx0DjMoKxtks5saz55gaJpZM4Oz5J->
.
|
Thanks! |
#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.