Skip to content

Commit

Permalink
Update Selenium to 2.45.0 and remove presto Opera support
Browse files Browse the repository at this point in the history
  • Loading branch information
Ardesco committed Feb 28, 2015
1 parent 3e74cdb commit ef4643f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 31 deletions.
20 changes: 1 addition & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,8 @@
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>2.43.1</version>
<version>2.45.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.opera</groupId>
<artifactId>operadriver</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.opera</groupId>
<artifactId>operadriver</artifactId>
<version>1.5</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.detro.ghostdriver</groupId>
Expand Down
12 changes: 0 additions & 12 deletions src/test/java/com/lazerycode/selenium/config/DriverType.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.lazerycode.selenium.config;

import com.opera.core.systems.OperaDriver;
import org.openqa.selenium.Platform;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
Expand Down Expand Up @@ -82,17 +81,6 @@ public WebDriver getWebDriverObject(DesiredCapabilities capabilities) {
return new SafariDriver(capabilities);
}
},
OPERA {
public DesiredCapabilities getDesiredCapabilities() {
DesiredCapabilities capabilities = DesiredCapabilities.opera();
capabilities.setCapability("opera.arguments", "-nowin -nomail");
return capabilities;
}

public WebDriver getWebDriverObject(DesiredCapabilities capabilities) {
return new OperaDriver(capabilities);
}
},
PHANTOMJS {
public DesiredCapabilities getDesiredCapabilities() {
DesiredCapabilities capabilities = DesiredCapabilities.phantomjs();
Expand Down

0 comments on commit ef4643f

Please sign in to comment.