I'm trying to create some simple test cases with Selenium IDE.
I'm having a problem with recording test cases which include a Javascript alert since Selenium doesn't support those pop-ups. So I tried to use a workaround by clicking just the Enter button when I know that the pop-up is visible.
Let's say that the alert always appears when a user visits one of my html pages. The user must click OK and in order to continue browsing.
I tried to create a test case with the command "keyPress". But I have absolutely no idea which target to use because there's no element I'm using in this case, I just want to press Enter.
Can anybody help me?