Skip to content

Instantly share code, notes, and snippets.

@muditlambda
Created April 3, 2020 14:00
var clickResult = wait.Until(SeleniumExtras.WaitHelpers.ExpectedConditions.ElementExists(By.Id("result")));
Console.WriteLine(clickResult.Text);
if (clickResult.Text == "You successfully clicked an alert")
{
Console.WriteLine("Alert Test Successful");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment