Skip to content

Instantly share code, notes, and snippets.

@stirno
Created February 22, 2014 06:21
Show Gist options
  • Save stirno/9149511 to your computer and use it in GitHub Desktop.
Save stirno/9149511 to your computer and use it in GitHub Desktop.
scriptcs + FluentAutomation
scriptcs -install FluentAutomation.SeleniumWebDriver
scriptcs -install ScriptCs.FluentAutomation
var Test = Require<F14N>()
.Init<FluentAutomation.SeleniumWebDriver>()
.Bootstrap("Chrome")
.Config(settings => {
// Easy access to FluentAutomation.Settings values
settings.DefaultWaitUntilTimeout = TimeSpan.FromSeconds(1);
});
Test.Run("Hello Google", I => {
I.Open("http://google.com");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment