Pry is a powerful alternative to the standard IRB shell for Ruby, featuring syntax highlighting, a flexible plugin architecture, runtime invocation, and source and documentation browsing. Using Pry to Debug Watir Webdriver scripts is intrinsically the same as using IRB but one of the main advantages of Pry is the ability to invoke it in the middle of a running program.
Read moreSimple steps and examples to show how IRB (interactive ruby shell) can be used to debug your Watir Webdriver automated testing scripts.
Read moreOne of the major pain points of developing and maintaining automation scripts is debugging script failures. Often times, when I’m trying to fix an automation script I would make a webdriver code change, run my script, try another webdriver command, and run the script again. I would continue this process until the script is passing,…
Read more