passbe/beef-migration-test-3 — Issue #567: Augment API Function: beef.browser.hasJava()
Author: passbe
Created: 2011-12-09 01:31:06+00:00
State: open

Currently, the hasJava() verification is based on window.navigator.javaEnabled(). This means that Java is switched on in browser settings. To properly verify if the browser has Java available the framework needs to run an applet.

The process identified by Ben:
- check if javaEnabled() is active
- create an applet
- insert the applet
- execute function inside applet (to ensure it is running)
- if that execution succeeds, hey presto Java is running.
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=155