Skip to content

Instantly share code, notes, and snippets.

@t32k
Created December 20, 2013 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t32k/8052822 to your computer and use it in GitHub Desktop.
Save t32k/8052822 to your computer and use it in GitHub Desktop.
setDOMElement
Sets the attribute of a DOM element that is required for the next event to complete successfully. The measurement will not complete until the DOM element appears or the action times out. Additionally, the time when the DOM element appears will be recorded in the results.
Browser Support: IE, Chrome, Firefox
usage: setDOMElement <attribute=value>
example: setDOMElement name'loginId
<attribute=value> - DOM element to wait for
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment