SelBench is a collection of utilities for testing, validating, and benchmarking Selenium IDE scripts. This is especially useful for instrumenting scripts that are used to test Selenium IDE extensions.
Commands
$w()and$d()are shorthand references to the window and document objects.- The
logcommand is equivalent togetEval|LOG.info(message) - The
alertcommand is equivalent togetEval|alert(message) - The
expectErrorcommand facilitate negative testing by handling command failure as success. - The
emit,assertEmitted,resetEmittedcommands provide a way to validate sequencing and accumulated state. - The
startTimer,timerElapsedcommands provide interval timing of scripts. - The
deleteVar/deleteVarscommands are equivalent togetEval|delete storedVars[name]