webDOMinator - Minion Scripting Language Reference

Search a Command:
<< Back to DOM Level Commands

simulate

Usage...
simulate:javascript-event:element
Simulates a javascript-event for a given element. For example, if a text box has an onkeypress event tied to it, you could simulate this event. For a full list of events see http://www.webmonkey.com/reference/JavaScript_Events Javascript Events Reference.
This applies to webDOM version 2.5.0 and above.

User Comments on simulate

The power of simulate

Written by: webDOMinator 3 years and 4 months ago

Okay, so you know something now about javascript events if you've looked at that reference or looked it up in google. Think of the raw power you have available for automation now that you can simulate each kind of event... a keyboard event, or anything... a change event, to simulate changing a text box, etc.

Code

//simulates an onchange event in javascript for the "invite" input element on the page.
simulate:onchange:dom.input.invite

Post a Comment About the "simulate" Command
Title:
Comment:
Post as Anonymous:
User Login
Username:
Email:
Password:
webDOMinator is copyright ©2008, 2009, 2010, 2011, 2012 Nathaniel D. Gibson. All Rights Reserved.
Contact | Tutorials | Forum
By using webDOMinator you are taking all liability in to your own hands. Nathaniel D. Gibson is not responsible for any damages, loss, or defamation (legal or otherwise) caused to you or your business from using this program. Nathaniel D. Gibson is not associated with, affiliated with, nor responsible for the content submitted and displayed by users of this site.