Seems document.write is used to overwrite the original content of a page,

http://javascript.about.com/library/blwrite.htm

Yes, Selenium does provide a refresh method, which is included in
DslContext.

refresh: Simulates the user clicking the "Refresh" button on their browser.

On Sat, Sep 19, 2009 at 7:08 AM, Harihara Vinayakaram <[email protected]>wrote:

> Hi
>    I have a page which on pressing the button does some document.write .  I
> have a test case that clicks the button and then checks for the element
> being present .
>
>    This currently fails since the DOM does not contain the elements. Is
> there a refresh or something like that which updates / fetches the DOM again
> ?
>
> Regards
> Hari
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to