Skip to content

Commit

Permalink
Add chrome with options for #276
Browse files Browse the repository at this point in the history
  • Loading branch information
lefthandedgoat committed Aug 13, 2016
1 parent 4ed2b0e commit 09f9a96
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,9 @@ Added better support for chromium [Issue #276](https://github.com/lefthandedgoat

#### 0.9.58 - July 31 2016
Added ability to skip in the middle of a test [Issue #280](https://github.com/lefthandedgoat/canopy/issue/280)

#### 0.9.59 - Aug 12 2016
Added ability to position a browser in a specific location, thanks @navmed! [Issue #285](https://github.com/lefthandedgoat/canopy/issue/285)

#### 0.9.60 - Aug 13 2016
Added chromium with options support [Issue #276](https://github.com/lefthandedgoat/canopy/issue/276)
8 changes: 4 additions & 4 deletions src/canopy/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("canopy")>]
[<assembly: AssemblyProductAttribute("canopy")>]
[<assembly: AssemblyDescriptionAttribute("F# web testing framework")>]
[<assembly: AssemblyVersionAttribute("0.9.58")>]
[<assembly: AssemblyFileVersionAttribute("0.9.58")>]
[<assembly: AssemblyVersionAttribute("0.9.60")>]
[<assembly: AssemblyFileVersionAttribute("0.9.60")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.9.58"
let [<Literal>] InformationalVersion = "0.9.58"
let [<Literal>] Version = "0.9.60"
let [<Literal>] InformationalVersion = "0.9.60"
1 change: 1 addition & 0 deletions src/canopy/canopy.fs
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,7 @@ let start b =
let options = OpenQA.Selenium.Chrome.ChromeOptions()
options.AddArgument("test-type") //https://code.google.com/p/chromedriver/issues/detail?id=799
new Chrome.ChromeDriver(chromiumDir, options) :> IWebDriver
| ChromiumWithOptions options -> new Chrome.ChromeDriver(chromiumDir, options) :> IWebDriver
| Firefox -> new FirefoxDriver() :> IWebDriver
| FirefoxWithProfile profile -> new FirefoxDriver(profile) :> IWebDriver
| FirefoxWithPath path -> new FirefoxDriver(new Firefox.FirefoxBinary(path), Firefox.FirefoxProfile()) :> IWebDriver
Expand Down
1 change: 1 addition & 0 deletions src/canopy/types.fs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ type BrowserStartMode =
| ChromeWithOptionsAndTimeSpan of Chrome.ChromeOptions * TimeSpan
| ChromeWithUserAgent of string
| Chromium
| ChromiumWithOptions of Chrome.ChromeOptions
| Safari
| PhantomJS
| PhantomJSProxyNone
Expand Down

0 comments on commit 09f9a96

Please sign in to comment.