Debug ...

This commit is contained in:
Dirk Jahnke 2019-07-27 19:18:23 +02:00
parent e3a260452d
commit 7876ae2d51
1 changed files with 1 additions and 0 deletions

View File

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