From 3b0a04061a29273c9a5f64a7637ad0a0aa844994 Mon Sep 17 00:00:00 2001 From: Kevin Miller Date: Fri, 30 Aug 2013 12:30:23 -0500 Subject: [PATCH] The browser pin feature seems to slow down PhantomJS This pinning seems to slow down PhantomJS by about 3-4 seconds per run. A headless browser doesn't need pinning anyhow. --- canopy/canopy.fs | 1 + 1 file changed, 1 insertion(+) diff --git a/canopy/canopy.fs b/canopy/canopy.fs index b4d8c18d..051fd23c 100644 --- a/canopy/canopy.fs +++ b/canopy/canopy.fs @@ -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