Debugging login

This commit is contained in:
Dirk Jahnke 2019-07-25 19:44:22 +02:00
parent fa079ae697
commit 8cf0505aae
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ public class BasicTest {
System.out.println("User info found: " + userInfo); System.out.println("User info found: " + userInfo);
Assert.assertEquals(userInfo, expectedUserInfo); Assert.assertEquals(userInfo, expectedUserInfo);
driver.switchTo().parentFrame();
driver.switchTo().frame(1); // nested frameset
String frameRechtsName = "rechts"; String frameRechtsName = "rechts";
driver.switchTo().frame(frameRechtsName); driver.switchTo().frame(frameRechtsName);
body = driver.getPageSource(); body = driver.getPageSource();