Skip to content

Instantly share code, notes, and snippets.

@lefthandedgoat
Created February 11, 2017 16:55
Show Gist options
  • Save lefthandedgoat/25e5bc05f8c631c2d9885ace4f4169a6 to your computer and use it in GitHub Desktop.
Save lefthandedgoat/25e5bc05f8c631c2d9885ace4f4169a6 to your computer and use it in GitHub Desktop.
working fsx with html reporter
#I @"C:\projects\fsxCanopy\packages\Selenium.WebDriver.3.0.0\lib\net40\"
#I @"C:\projects\fsxCanopy\packages\canopy.1.0.6\lib"
#r "WebDriver.dll"
#r "canopy.dll"
open canopy
open runner
open reporters
start chrome
reporter <- new LiveHtmlReporter(Chrome, configuration.chromeDir) :> IReporter
context "some tests"
"google" &&& fun _ ->
url "http://www.google.com"
"yahoo" &&& fun _ ->
url "http://www.yahoo.com"
run()
quit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment