Skip to content

Commit

Permalink
Merge pull request #329 from valfirst/upgrade-to-selenium-3-14-0
Browse files Browse the repository at this point in the history
Upgrade to Selenium 3.14.0
  • Loading branch information
hollingsworthd authored Aug 15, 2018
2 parents 55573c8 + 69c3775 commit 1f1e9dd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</licenses>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<selenium.version>3.8.1</selenium.version> <!-- note: selenium does not follow semantic versioning -->
<selenium.version>3.14.0</selenium.version> <!-- note: selenium does not follow semantic versioning -->
</properties>
<dependencies>
<dependency>
Expand Down
6 changes: 4 additions & 2 deletions src/com/machinepublishers/jbrowserdriver/Element.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,20 @@
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.internal.Locatable;
import org.openqa.selenium.interactions.Locatable;
import org.openqa.selenium.internal.FindsByClassName;
import org.openqa.selenium.internal.FindsByCssSelector;
import org.openqa.selenium.internal.FindsById;
import org.openqa.selenium.internal.FindsByLinkText;
import org.openqa.selenium.internal.FindsByName;
import org.openqa.selenium.internal.FindsByTagName;
import org.openqa.selenium.internal.FindsByXPath;
import org.openqa.selenium.internal.WrapsDriver;
import org.openqa.selenium.WrapsDriver;

class Element implements WebElement, JavascriptExecutor, FindsById, FindsByClassName,
FindsByLinkText, FindsByName, FindsByCssSelector, FindsByTagName, FindsByXPath, Locatable,
org.openqa.selenium.interactions.internal.Locatable, // Selenium 3.14 API (org.openqa.selenium.interactions.Actions) uses deprecated interface internally,
// so we should implement it as well to avoid type casting issues.
WrapsDriver {
private final ElementRemote remote;
private final JBrowserDriver driver;
Expand Down
2 changes: 1 addition & 1 deletion src/com/machinepublishers/jbrowserdriver/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import org.apache.commons.lang.RandomStringUtils;
import org.apache.http.ConnectionClosedException;
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.internal.WrapsElement;
import org.openqa.selenium.WrapsElement;

import com.google.common.util.concurrent.UncheckedExecutionException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.interactions.internal.Locatable;
import org.openqa.selenium.interactions.Locatable;
import org.openqa.selenium.logging.LogEntry;

import com.machinepublishers.jbrowserdriver.JBrowserDriver;
Expand Down

0 comments on commit 1f1e9dd

Please sign in to comment.