logo       

Re: document object in user-extensions.js: msg#00064

web.selenium.user

Subject: Re: document object in user-extensions.js

How happy was I to see your email today? VERY! Thanks
works great.

--- Mike Williams <mdub-3EgtSZObKi5lpurz0DiEow@xxxxxxxxxxxxxxxx> wrote:

> vernon viles wrote:
>
> > How do I access the javascript "document" object
> for
> > the current page in the user extensions file.
>
> Replace your
>
> document.getElementById('footable')
>
> with
>
>
>
this.page().currentDocument.getElementById('footable')
>
> Alternatively, you could use Selenium's locator
> functionality:
>
> this.page().findElement('id=footable')
>
> --
> cheers, MikeW
> http://www.dogbiscuit.org/mdub/
> _______________________________________________
> Selenium-users mailing list
> Selenium-users-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx
>
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise