Robert
Robert

Reputation: 1

How can I press Tab key and Enter key on browser using browser's console?

I want to press 2 buttons on the website one by one (by console code) but the click code doesn't work on one of them.

So instead, I am trying to make console code that presses Tab key and Enter key one after another on browser to press that button.

Here's what I want

  1. Click one button (by console code)
  2. Tab key (automatically by console code)
  3. Enter key (automatically by console code)

-> so another button clicked

Upvotes: 0

Views: 247

Answers (0)

Related Questions