I am having problems in locating i frame in script for the second time..
JunaidAKhan opened this issue · 0 comments
JunaidAKhan commented
i have a script where in they are working fine on chrome but with html driver.. i am unable to
unable to switch the frame after refresh.. i am using xpath driver.switchTo().frame(driver.findElement(By.cssSelector("//div/iframe")));
it is able to locate the frame when the script starts, but unable to relocate after refresh ..
any work around???