Created
February 22, 2014 06:21
-
-
Save stirno/9149511 to your computer and use it in GitHub Desktop.
scriptcs + FluentAutomation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scriptcs -install FluentAutomation.SeleniumWebDriver | |
scriptcs -install ScriptCs.FluentAutomation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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