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@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to