Debug ....

This commit is contained in:
Dirk Jahnke 2019-07-27 19:29:05 +02:00
parent 7876ae2d51
commit ebf44463e0
1 changed files with 1 additions and 2 deletions

View File

@ -118,8 +118,7 @@ public class BasicTest {
driver.switchTo().defaultContent(); driver.switchTo().defaultContent();
FredlTestHelper.printPageSource(); FredlTestHelper.printPageSource();
Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//frame[@name='oben']"), true); Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//frame[@name='oben']"), true);
String frameObenName = "oben"; driver.switchTo().frame(driver.findElement(By.xpath("//frame[@name='oben']")));
driver.switchTo().frame(frameObenName);
driver.findElement(By.id("logout-menu-button")).click(); driver.findElement(By.id("logout-menu-button")).click();