Chrome switch focus back to website

I used XType with Key_TAB to highlight the popup close button, then XType with KEY_ENTER to click its button and it worked. Now i dont know how to switch focus back to the website…I tried selectWindow TAB=0, and selectFrame index=0 and still wont work. Any idea how to fix this?

Use BringBrowserToForeground

1 Like