Welcome Guest Search | Active Topics | Sign In | Register

Simulate Keypress in DOM Options
PascalJedi
Posted: Thursday, May 7, 2015 10:59:56 AM
Rank: Newbie
Groups: Member

Joined: 5/7/2015
Posts: 1
Is a way to execute a keypress on an input field? I can't seem to figure out the syntax. I should note that just modifying the .value isn't enough to full test the script.

Thank you for any help.

webbroswer.GetDOMWindow().document.getElementsByTagName("Input")[0].InvokeFunction("focus");
// Set letters
webbroswer.GetDOMWindow().document.getElementsByTagName("Input")[0].InvokeFunction("click");



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.