Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to dispatch a key to a textbox in the Chrome Browser

the command i send to chrome is:

{"params":{"type":"char","timestamp":1.0,"key":"t"},"id":5,"method":"Input.dispatchKeyEvent"}


the cursor is focused on a text field but nothing happens (neither error message, if i do not specify 'type' parameter, the browser return an error message

What I have tried:

I am trying to dispatch a key to a textbox in the Chrome Browser

the command i send to chrome is:

<pre>{"params":{"type":"char","timestamp":1.0,"key":"t"},"id":5,"method":"Input.dispatchKeyEvent"}


the cursor is focused on a text field but nothing happens (neither error message, if i do not specify 'type' parameter, the browser return an error message
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900