Hi,
I got scLocator running fine in my browser ( Firefox + Selenium IDE ). But now it's time to write my tests in PHP which connects to Selenium server using Webdriver ( https://github.com/chibimagic/WebDriver-PHP ).
I start my server with your user-extensions:
And it works fine.
But when i try to to use scLocator it doesn't work:
Other things like id=login_link run fine.
Am i doing something wrong or user-extensions won't work in this situation?
I got scLocator running fine in my browser ( Firefox + Selenium IDE ). But now it's time to write my tests in PHP which connects to Selenium server using Webdriver ( https://github.com/chibimagic/WebDriver-PHP ).
I start my server with your user-extensions:
Code:
java -jar selenium-server.jar -userExtensions user-extensions.js
But when i try to to use scLocator it doesn't work:
Code:
Unsuccessful WebDriver command: 7 - NoSuchElement - An element could not be located on the page using the given search parameters. Command: POST - http://localhost:4444/wd/hub/session/1333050737162/element - {"using":"id","value":"scLocator=\/\/IButton[ID=\"send_button\"]\/"} Message: Unable to locate element: {"method":"id","selector":"scLocator=//IButton[ID=\"send_button\"]/"} Command duration or timeout: 29 milliseconds
Am i doing something wrong or user-extensions won't work in this situation?
Comment