java - Unable to identify the element inside another html -


i've got page below , 'm trying identify element divtofind using selenium. but, inside frame , inside html, i'm unable find it.

i 've tried below.

switchto().frame() - did not work
window handler swapping - there 1 window handler

any suggestions please?

<html> <head> <body unselectable="off"> <div ..... > <iframe src="/something.jsp" name="framebox"> <!doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/tr/html4/strict.dtd"> <html> <head> <body> <div id="divtofind"> ........  </div> </body> </head> </html> </iframe>  </div> </body> </head> </html> 


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -