From: Dominique de W. <dde...@gm...> - 2007-09-28 10:08:36
|
We are writing stuff to support execution of selenium scripts on htmlunit. The case I am trying to solve now is that of loading a static page which contains an iframe where the application loads its stuff and finding elements of this iframe... The script recorded with selenium-IDE simply visits the page, which loads the application part into the iframe, then tries to select an element (a selectbox) which is in the iframe. open mypage assertTitle myPage select dropDownInIframe Those step execute directly with SeleniumIDE as if the iframe DOM were directly available. However, when doing this trivially, all I have in html is the iframe element but not its contents.... How do you think I should go about supporting this iframe handling with htmlunit? Thanks for you help. D. |