About Pakistan, Software, Software Testing and every thing in between!!
Tuesday, January 26, 2016
Interacitve shell for php-webdriver to debug selenium
I do most of my selenium (actually locator’s) debugging in chrome console, $() for css selectors and and $x() for xpath selectors but when it actually comes to debugging selenium/webdriver api calls I prefer interactive shell of programming language (python, ruby and php and pretty decent built in shells)
Bellow is how you can configure php shell to play around with selenium
get composer Composer (If you don’t already use Composer)