Skip to content

Commit

Permalink
Merge pull request #96 from KevM/phantompin
Browse files Browse the repository at this point in the history
The browser pin feature seems to slow down PhantomJS
  • Loading branch information
lefthandedgoat committed Sep 2, 2013
2 parents 437a772 + 3b0a040 commit ce2776c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions canopy/canopy.fs
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ let start b =
| FirefoxWithProfile profile ->
new OpenQA.Selenium.Firefox.FirefoxDriver(profile) :> IWebDriver
| PhantomJS ->
autoPinBrowserRightOnLaunch <- false
new OpenQA.Selenium.PhantomJS.PhantomJSDriver(phantomJSDir) :> IWebDriver

if autoPinBrowserRightOnLaunch = true then pin Right
Expand Down

0 comments on commit ce2776c

Please sign in to comment.