Last active
December 11, 2017 22:28
-
-
Save angelovstanton/7660de027a20a38a0f9d to your computer and use it in GitHub Desktop.
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
[TestMethod] | |
public void Open_Tor_Browser() | |
{ | |
this.Driver.Navigate().GoToUrl(@"whatismyipaddressSiteUrl"); | |
var expression = By.XPath("//*[@id='section_left']/div[2]"); | |
this.Wait.Until(x => x.FindElement(expression)); | |
var element = this.Driver.FindElement(expression); | |
Assert.AreNotEqual<string>("84.40.65.000", element.Text); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment