Skip to content

Instantly share code, notes, and snippets.

@ultimate-qa2
Created August 16, 2018 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ultimate-qa2/efdf89cf01914a58dffc999c51b322bb to your computer and use it in GitHub Desktop.
Save ultimate-qa2/efdf89cf01914a58dffc999c51b322bb to your computer and use it in GitHub Desktop.
[SetUp]
public void SetupForEverySingleTestMethod()
{
Driver = new ChromeDriver();
Driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
Eyes = new Eyes
{
//This sets the Applitools API key so that you can access the account
//ApiKey = "vDPsWHm9wt7dIAvfQRH79HF105is4Lhc9710rH1xW7BUl0146";
ApiKey = Environment.GetEnvironmentVariable("APPLITOOLS_API_KEY",
EnvironmentVariableTarget.User)
};
Driver.Navigate().GoToUrl("https://www.ultimateqa.com/fake-landing-page/");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment