2

I have a website which uses a Java applet. I am trying to automate it using Cucumber & Selenium WebDriver. However, every time I run the website in browser, I get a java security alert (see image), which should be explicitly allowed to proceed further.

Sample image - Java Security alert image

At present, I am unable to proceed beyond this step. Any help would be really appreciated.

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
Utsav Kesharwani
  • 1,715
  • 11
  • 25
  • I don't have an alert to test.. but what's about driver.switchTo().alert().accept() ? – Franz Ebner May 24 '13 at 10:14
  • Its not the webpage's native element, which I can switch to. Owing to recent Java vulnerabilities, this sort of alert usually comes up on all java based sites. Try [this site](http://www.java.com/en/download/testjava.jsp). You might get a [similar alert](http://i.imgur.com/WD5Z3bI.png). – Utsav Kesharwani May 24 '13 at 10:28

0 Answers0