Selenium - Running Javascript
i've got dumb question - how to run scripts located on tested site? I can run alert, but i dont have access to scripts written by my. I've tried runscript, geteval - without any ef
Since Selenium is written in JavaScript the window object moves to within the Selenium object.
What you need to do is
selenium.get_eval("this.browserbot.getUserWindow().youScriptOnThePage")
Post a Comment for "Selenium - Running Javascript"