Debugging login
This commit is contained in:
parent
f1bc38524d
commit
fa079ae697
|
@ -81,6 +81,9 @@ public class BasicTest {
|
|||
String expectedTitle = "FreDL";
|
||||
wait.until(ExpectedConditions.titleIs(expectedTitle));
|
||||
|
||||
body = driver.getPageSource();
|
||||
System.out.println("HTML: " + body);
|
||||
|
||||
//driver.switchTo().frame("oben");
|
||||
String frameObenName = "oben";
|
||||
wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(frameObenName));
|
||||
|
@ -95,7 +98,6 @@ public class BasicTest {
|
|||
System.out.println("User info found: " + userInfo);
|
||||
Assert.assertEquals(userInfo, expectedUserInfo);
|
||||
|
||||
driver.switchTo().frame(1); // switch to lower part containing left and right
|
||||
String frameRechtsName = "rechts";
|
||||
driver.switchTo().frame(frameRechtsName);
|
||||
body = driver.getPageSource();
|
||||
|
|
Loading…
Reference in New Issue