Comment by sam...@gmail.com:

Thanks! It worked great for me.

The only thing that i had to do differently -probably because i am using a newer version of the library- is to append your selector function at the end of jQuery like suggested, but instead of creating a new user-extention.js file, i appended everything into the already existing user-extensions.js -at the same directory level as selenium-server.jar-.

By doing so, the extension is loaded automatically, so i don't need to use the -userExtensions option with the Start Selenium Server keyword.

Selenium library 2.7 docs read the following:
"Starting from SeleniumLibrary 2.6, if there is user-extensions.js file in the same directory as Selenium Server jar, it is loaded using the -userExtensions option. This is not done if the option is defined in params. By default, such extension file providing Flex testing support is loaded automatically."

For more information:
https://code.google.com/p/robotframework-seleniumlibrary/wiki/jQueryElementSelectors

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to