Skip to content

Commit

Permalink
Increase selenium for java11 (#1)
Browse files Browse the repository at this point in the history
Increased Selenium to 3.14.0 to get bytebuddy 1.18.5 and Java 11 support. Fixed some failing tests.
  • Loading branch information
sglahn authored Oct 16, 2018
1 parent 91ba031 commit 5787a38
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions galen-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

import com.galenframework.tests.GalenEmptyTest;
import com.galenframework.tests.GalenTest;
import com.sun.org.apache.xpath.internal.operations.Bool;
import org.apache.commons.lang3.StringEscapeUtils;

public class GalenTestInfo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void setArea(Integer[] area) {

public boolean matches(By by) {
if (by instanceof By.ByCssSelector) {
String selector = (String)takeFieldValueViaReflection(by, "selector");
String selector = (String)takeFieldValueViaReflection(by, "cssSelector");
if("css".equals(getLocatorType()) && selector.equals(getLocatorValue()) ) {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>

<!-- VERSION NUMBERS -->
<selenium.version>3.11.0</selenium.version>
<selenium.version>3.14.0</selenium.version>
<commons-io.version>2.4</commons-io.version>
<commons-cli.version>1.2</commons-cli.version>
<phantomjsdriver.version>1.2.1</phantomjsdriver.version>
Expand Down

0 comments on commit 5787a38

Please sign in to comment.