Description
extension adds command 'debug' that will switch the selenium to the 'Step' mode.
Needed if you want to stop execution at some point and proceed in step mode to see details of teh test failure.
Code to add to the user-extensions:
Selenium.prototype.doDebug = function( text ) {
document.getElementById('modeStep').click();
};
Example:
| clickAndWait |
link=Add |
| debug |
|
| verifyTextPresent |
Troubles are here... |
Seelnium will stop on command 'debug' so you'll have a chance to take a look at the actual content of the page.
FYI, there's an (undocumented) "break" command which does the same thing.