I am working on project in which i have created a chrome plugin. In that plugin i have button and on clicking of that button keyboard tab key must automatically start getting pressed so that i can check if focus is getting trapped on some elements or not.
I have created a code in javascript where I have used keydown event with keycode 9, but seems this is not pressing tab key automatically to move focus to next element.
I am expecting that keyboard tab key must automatically get press so that focus trap issue can be caught