Closed JunaidAKhan closed 6 years ago
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???
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???