LogMessages

From STIQ

Jump to: navigation, search

storeLogMessages ( variableName )

assertLogMessages ( pattern )
assertNotLogMessages ( pattern )
verifyLogMessages ( pattern )
verifyNotLogMessages ( pattern )
waitForLogMessages ( pattern )
waitForNotLogMessages ( pattern )


Returns:

  • All log messages seen since the last call to this API


This is a placeholder intended to make the code generator make this API available to clients. The Selenium server will intercept this call, however, and return its recordkeeping of log messages since the last call to this API. Thus this code in JavaScript will never be called.


The reason we opted for a server centric solution is to be able to support multiple frames served from different domains, which would break a centralized JavaScript logging mechanism under some conditions.

Personal tools
Noteworthy