Debug ....
This commit is contained in:
parent
7876ae2d51
commit
ebf44463e0
|
@ -118,8 +118,7 @@ public class BasicTest {
|
|||
driver.switchTo().defaultContent();
|
||||
FredlTestHelper.printPageSource();
|
||||
Assert.assertEquals(FredlTestHelper.elementExistsByXpath("//frame[@name='oben']"), true);
|
||||
String frameObenName = "oben";
|
||||
driver.switchTo().frame(frameObenName);
|
||||
driver.switchTo().frame(driver.findElement(By.xpath("//frame[@name='oben']")));
|
||||
driver.findElement(By.id("logout-menu-button")).click();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue