Enter your email address:
i tried with different options like index, webelement, tagname all are not working. i have an exception no such element. Please suggest how to switch to child iframe
I tried with By Index, didn’t work for me. any alternatives
even i tried with the follwing
driver.switchTo().frame(driver.findElement(By.cssSelector(“iframe[k-window-title=’Survey Question Action’]”)));
Please try the xpath element locator in place of cssSelector.
This may help you to switch to child frame.
there are 3 methods of frames, use either them.
findElement(By.xpath(“//iframe[@title=’Survey Question Action’]”));