Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
formatting driverFactories
Browse files Browse the repository at this point in the history
  • Loading branch information
boris779 committed Jan 1, 2020
1 parent dbe423d commit ac27d50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class RemoteChromeWebDriverFactory : RemoteWebDriverFactory() {

webDriver = RemoteWebDriver(URI.create("${getRemoteTestingServer()}/wd/hub").toURL(), options)
webDriver.manage().window().maximize()

return webDriver
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import org.openqa.selenium.remote.RemoteWebDriver
import java.net.URI

class RemoteFirefoxWebDriverFactory : RemoteWebDriverFactory() {

override fun createDriver(): WebDriver {

caps.browserName = "firefox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class RemoteOperaWebDriverFactory : RemoteWebDriverFactory() {

webDriver = RemoteWebDriver(URI.create("${getRemoteTestingServer()}/wd/hub").toURL(), options)
webDriver.manage().window().maximize()

return webDriver
}

Expand Down

0 comments on commit ac27d50

Please sign in to comment.