I checked in the customized selenium-server.jar to trunk/core/lib and committed the first attempt to automatically build jQuery selector. To use jQuery Selector, you should call
useJQuerySelector() in your UI module. I created a test case, GoogleSearchTestCase and seems it is working, which is really encouraging. Please see GoogleSearchModule and GoogleSearchTestCase for more details. One problem I faced is to escape the single quote in Java script. Because there are multiple String conversions along the path from Tellurium core to Selenium core, "\" is not really working. So, I work around this by using partial matching. Next step will be to build jQuery selector for group locating and I also need to modify Tellurium objects to use jQuery selector. Thanks, Jian On Apr 9, 4:55 pm, John <[email protected]> wrote: > After I added jquery.js and json2.js to TestRunner.html and put our > user-extensions.js code > directly to selenium-core and re-package the selenium-server jar file, > the tests passed. > Seems the way to read in user-extensions.js from Selenium > configuration is problematic. > > Perhaps we should create a custom selenium-server.jar and put it into > our Maven third > party repo. > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
