Jump to content

Browser input


Recommended Posts

Is there any way I can put a text in a browser textfield that is not hosted on localhost? I know that I could inject mouse down on a textfield and user can type on his own a text string using his keyboard. The point is to do it from the code.

Something like:

I wanted to use JS to get element by id and update innerText, but executeJavaScript does not with remote addresses.

Link to post

As far as i know (i looked it up now too) you can't simulate character click with script. (You can only move the cursor)

The only way to do it is by JS but you can't do it as you mentioned because it is disabled for safty reasons i guess.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...