find elements Test NUnit Visual Studio 2022
This commit is contained in:
@ -49,7 +49,7 @@ namespace SeleniumNunitProject.Tests
|
||||
// xpath (text na hlavní straně h1)
|
||||
var xpathVAlidator = driver.FindElement(By.XPath("//h1")).Displayed;
|
||||
Assert.That(xpathVAlidator, Is.EqualTo(true));
|
||||
Console.WriteLine(xpathVAlidator);
|
||||
|
||||
|
||||
driver.Quit();
|
||||
|
||||
|
Reference in New Issue
Block a user