Thanks,
here is the progress so far:
I have added support for jquery locators in tellurium, no group
locator support yet.
extending selenium is tricky because i want to be able to retain
support for running commands on wrapped sets of DOM elements, the true
power of jquery.
with wrapped set support i will probably need to modify selenium-
core.js, though i have so far been able to work around it, putting all
my changes into user-extensions.js
adding support for single element selention with jquery would be very
easy, no need to modify selenium js at all!
On Dec 1, 9:25 pm, [EMAIL PROTECTED] wrote:
> Mikhail,
>
> Glad you make some progress. To not kill Firefox, please go to class
> org.tellurium.dispatch.Dispatcher and in the class, you will see
> the method "invokeMethod" as follows,
>
> def invokeMethod(String name, args) {
> if (sc.client == null)
> sc = new SeleniumClient()
>
> try {
> return sc.client.metaClass.invokeMethod(sc.client, name,
> args)
> } catch (Exception e) {
> if (this.captureScreenshot) {
> long timestamp = System.currentTimeMillis()
> String filename = filenamePattern.replaceFirst
> (PLACE_HOLDER, "${timestamp}")
> sc.client.captureScreenshot(filename)
> println "Screenshot for exception <<" + e.getMessage()
> + ">> is saved to file ${filename}"
> }
> throw e
> }
> }
>
> Please comment out the above "throw e" line so that exceptions will be
> caught and swallowed.
>
> Thanks,
>
> Jian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---