Skip to content

Commit

Permalink
suargar for remote driver #159
Browse files Browse the repository at this point in the history
  • Loading branch information
lefthandedgoat committed Aug 11, 2014
1 parent 477d3ad commit 576e595
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/canopy/canopy.fs
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,8 @@ let start b =
autoPinBrowserRightOnLaunch <- false
let service = PhantomJS.PhantomJSDriverService.CreateDefaultService(canopy.configuration.phantomJSDir)
service.ProxyType <- "none"
new PhantomJS.PhantomJSDriver(service) :> IWebDriver
new PhantomJS.PhantomJSDriver(service) :> IWebDriver
| Remote(url, capabilities) -> new OpenQA.Selenium.Remote.RemoteWebDriver(new Uri(url), capabilities) :> IWebDriver

if autoPinBrowserRightOnLaunch = true then pin Right
browsers <- browsers @ [browser]
Expand Down
1 change: 1 addition & 0 deletions src/canopy/types.fs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ type BrowserStartMode =
| ChromeWithUserAgent of string
| PhantomJS
| PhantomJSProxyNone
| Remote of string * ICapabilities

type Test (description: string, func : (unit -> unit), number : int) =
member x.Description = description
Expand Down

0 comments on commit 576e595

Please sign in to comment.