Skip to content

Commit

Permalink
Adding java IE test job to appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed May 9, 2018
1 parent 5b8994f commit c0de230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ environment:
TASK: //rb:ie-test
- RUBY_VERSION: 200
TASK: //rb:remote-ie-test
- RUBY_VERSION: 200
TASK: test_ie
install:
- 'set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0'
- 'set PATH=%JAVA_HOME%;%PATH%'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,6 @@ public void setFileDetector(FileDetector detector) {
"via RemoteWebDriver");
}

public <X> X getScreenshotAs(OutputType<X> target) {
// Get the screenshot as base64.
String base64 = execute(DriverCommand.SCREENSHOT).getValue().toString();

// ... and convert it.
return target.convertFromBase64Png(base64);
}

protected void assertOnWindows() {
Platform current = Platform.getCurrent();
if (!current.is(Platform.WINDOWS)) {
Expand Down

0 comments on commit c0de230

Please sign in to comment.