Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.06 KB

README.md

File metadata and controls

15 lines (12 loc) · 1.06 KB

SelBench

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 log command is equivalent to getEval|LOG.info(message)
  • The alert command is equivalent to getEval|alert(message)
  • The expectError command facilitate negative testing by handling command failure as success.
  • The emit, assertEmitted, resetEmitted commands provide a way to validate sequencing and accumulated state.
  • The startTimer, timerElapsed commands provide interval timing of scripts.
  • The deleteVar/deleteVars commands are equivalent to getEval|delete storedVars[name]

Firefox Installer