automation - Using Jquery with Seleninum RC user-extension.js -
i want include jquery our current automation project running selenium rc ( written in java ).
so can rely on js library writing our java script code extending current user-extension.js.
i have heard , searched web , many can done, include source in user extension o adding library core selenium-server.jar.
i have tried both approaches out luck.
all time try reference jquery in java script code, selenium error "jquery not defined".
maybe calling jquery functions wrong inside user-extension.js, don't know.
any or guidance appreciated. bye
i use runscript() , able attach jquery page in selenium rc
http://github.com/tszming/selenium-google-scrapper/blob/master/selenium-google-scraper.php
the script not java, believe can use same approach.
** use window.jquery instead of jquery in geteval() call
Comments
Post a Comment