--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/Vo-caftfMZgJ.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/fM5dbeGsaiwJ.
--
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/ppNmbSvtungJ.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/0iBGlEGG-ioJ.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/Vo-caftfMZgJ.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/lhb9kcRTLA0J.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/k_Z9ededWKIJ.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/y9elNU-88cUJ.
driver.switchTo().activeElement();... is supposed to do.
as used here: http://code.google.com/p/selenium/wiki/FrequentlyAskedQuestions#Q:_How_do_I_type_into_a_contentEditable_iframe?
At this stage, if neither ... driver.switchTo().activeElement();... helps then I'm all out of ideas.
nor ... switchTo().defaultContent();
driver.switchTo().frame(1); // there is no ID or name to the iFrame
// checked that there are only 2 iFrames 1 in the base page and the other in the popup try { System.out.println("Wait for the popup to get loaded"); Thread.sleep(15000); } catch (InterruptedException e){ System.out.println("Exception : " + e.getMessage()); } driver.findElement(By.cssSelector("#tab3")).click(); // tab driver.findElement(By.cssSelector("#p1")).click(); // check box driver.findElement(By.cssSelector("#pNote")).click(); // text area driver.findElement(By.cssSelector("pButtonClose")).click(); // close button for the popup //switch out of the frame back to the main screen, probably this is not required, but not sure at this point driver.switchTo().defaultContent(); Error I am getting ============================================= org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"css selector","selector":"#p1"} As you can see the error is not occuring when click on #tab3 is done (note: tab3 is selected by default then the popup opens) Not getting what I am missing here. Tried Issues search, googling and FAQ, unfortunately stuck!
Can you please share if this got resolved for you and how.
Thanks