Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
A blocked Java plugin is usually a browser-platform limitation, not a WebDriver setting. Embedded Java applets depend on the NPAPI plugin interface. Oracle says Chrome 45 and later removed NPAPI, so the Java browser plugin cannot run there, and Mozilla says Firefox no longer supports NPAPI plugins, including Java. WebDriver can automate a supported browser, but it cannot restore an interface that browser vendors removed.
First establish whether the site uses an embedded applet, Java Web Start, or a standalone Java program. The Chrome NPAPI change applies to applets; Oracle says it does not affect Web Start applications. Then troubleshoot browser-driver setup separately from Java delivery.
Identify what the application is launching
“Java application” can describe several delivery models with different fixes. Ask the application owner, inspect the launch link, or check the page behavior before changing Selenium settings.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware match| What you see | What it means | First action |
|---|---|---|
| Java content is embedded inside the page, often as an applet area | The page depends on the Java browser plugin and NPAPI. | Treat browser compatibility as the primary problem; do not expect a WebDriver capability to restore it. |
| A file or link starts Java Web Start | The Java program launches outside the browser session. Oracle says Chrome’s NPAPI change does not affect Web Start applications. | Troubleshoot the launch file, Java runtime, and operating-system association independently of browser plugins. |
| A desktop shortcut or command starts Java | This is a standalone process, not a browser plugin. | Diagnose the application and runtime directly; WebDriver is relevant only if a browser is also part of the workflow. |
Do not infer the delivery model from the presence of JavaScript or from the fact that the test is written with Selenium. A browser test can contain a separate step that starts a desktop Java process.
#1 Best Overall
Why changing WebDriver settings cannot unblock an applet
Oracle documents that the Java browser plugin requires NPAPI and states: “Google’s Chrome version 45 and above have dropped support for NPAPI, and therefore Java Plugin do not work on these browsers anymore.” See Oracle’s Java and Google Chrome Browser guidance. The “45 and above” figure identifies the point at which Chrome removed the interface; it is not a statement about the current Chrome release number.
Firefox took the same architectural route. Mozilla’s support article lists Java among NPAPI plugins that no longer load in Firefox and warns that using an old browser can expose personal data and the computer to security risks: Why do Java, Silverlight, Adobe Acrobat and other plugins no longer work?
- Installing or updating a Java runtime does not add NPAPI back to a browser.
- A WebDriver profile flag, capability, extension, or user-agent string cannot recreate a removed plugin interface.
- Changing from one current Chromium or Firefox build to another is not a supported applet migration strategy when both lack the required interface.
If an applet is mandatory, the durable solution is an application change: ask the system owner for a supported web interface or a launch path that does not require an embedded browser plugin. The exact replacement depends on that system and cannot be selected from Selenium configuration alone.
Separate browser launch failures from plugin failures
WebDriver has its own failure modes. Selenium describes WebDriver as sending commands to a browser through a browser-specific driver and maintains setup guidance at Unable to Locate Driver Error. A useful diagnostic is to prove that WebDriver can create a normal browser session before investigating the page.
Minimal Selenium 4 smoke test (Python)
Install the current Selenium package in the environment used by the test:
python -m pip install -U selenium
Then run a session against a page that does not depend on an applet:
Rank #2
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument("--headless=new")
try:
driver = webdriver.Chrome(options=options)
driver.get("https://example.com")
print("title:", driver.title)
finally:
try:
driver.quit()
except UnboundLocalError:
pass
With current Selenium, Selenium Manager can discover the browser and manage a compatible driver for supported browsers. Its scope is browser-driver discovery and management, not Java installation or plugin support. Read Selenium Manager documentation when a session cannot start.
Interpret the result
- The smoke test fails before a window or session exists: investigate the driver, browser installation, permissions, PATH, and enterprise policy.
- The smoke test succeeds but the applet region is blank or reports a missing plugin: WebDriver is functioning; the page is encountering the browser’s plugin limitation.
- The page loads but a separate Java Web Start link fails: troubleshoot the downloaded launch file and Java runtime rather than NPAPI.
If you maintain Selenium 3 code, follow Selenium’s upgrade-to-Selenium-4 guidance. It explains that the old Firefox legacy driver is unnecessary and does not work with recent Firefox versions; use GeckoDriver with current Selenium instead.
A practical decision path
- Classify the launch model. Record whether the page embeds an applet, downloads a Web Start file, or starts a standalone process. Save the exact URL and visible error text.
- Check the browser family and version. For Chrome 45 and later, Oracle’s documentation establishes that NPAPI-based Java plugins do not work. Mozilla’s guidance establishes the same basic limitation for Firefox.
- Run a clean WebDriver smoke test. Use a simple page and current Selenium. This isolates session creation from page content.
- Inspect the failure stage. A driver-resolution or session-creation error belongs to WebDriver setup. A successful session with an unusable applet belongs to application compatibility.
- Ask the application owner for a supported path. Request a modern web interface, a supported desktop client, or a documented Web Start/standalone workflow. Do not deploy an obsolete browser as an unreviewed production fix.
Microsoft Edge: check policy as well as Selenium
Current Chromium-based Edge automation is a separate branch from legacy EdgeHTML automation. Microsoft’s Use WebDriver to automate Microsoft Edge guidance says Selenium 4 is required when Selenium is used with current Edge.
Edge WebDriver communicates through DevTools. Microsoft documents that an administrator can block this channel by setting the DeveloperToolsAvailability policy to 2. In a managed environment, ask the administrator to check that policy before changing test code. A policy-blocked session and a Java applet that cannot load are different faults:
| Symptom | Likely branch | Who can fix it |
|---|---|---|
| Edge WebDriver refuses to create a session and policy text appears | DeveloperToolsAvailability or another enterprise control | Browser or security administrator, with Selenium 4-compatible test code |
| Edge session starts, but the embedded Java area is unavailable | Removed browser plugin interface | Application owner must provide a supported replacement |
Common errors and precise fixes
“Unable to locate driver” or driver-path errors
Cause: Selenium cannot find or obtain the browser-specific driver, or the browser is not installed where expected.
Fix: Use current Selenium and its Selenium Manager path first; otherwise follow Selenium’s browser-driver installation page for the browser in use. Verify that the test account can execute the driver and that endpoint security software is not deleting it.
Rank #3
The browser starts, but the applet is blank
Cause: The browser session is healthy, while NPAPI-based Java delivery is unsupported in the browser.
Fix: Stop adjusting WebDriver capabilities. Confirm whether the application owner offers a non-applet interface or a Web Start/standalone launch path.
Firefox-specific “plugin” instructions do not work
Cause: Firefox no longer provides NPAPI support, including Java.
Fix: Do not rely on old Firefox builds as a routine answer. Mozilla explicitly warns about the security risk of old browsers; arrange a supported application migration instead.
Legacy Firefox code fails after a browser upgrade
Cause: The test depends on Selenium’s obsolete Firefox implementation.
Fix: Move to current Selenium patterns and GeckoDriver as described in Selenium’s upgrade guide.
Rank #4
- Java Programming Java Success Algorithm Java Programmer is a perfect present for IT specialist or a computer geek, computer nerd, network engineer. Funny gift idea for a Java coder or programmer, Java script developer, cool gift for an IT professional.
- Java Programming Java Success Algorithm Java Programmer is a cool gift for JS, Javascript programmers and Web developers. Funny Java Programming gift for husband and also suitable for a wife. Funny Java programmer birthday gift, IT gift for Christmas.
- Lightweight, Classic fit, Double-needle sleeve and bottom hem
Edge reports a DevTools or policy restriction
Cause: DeveloperToolsAvailability=2 or another managed policy blocks the DevTools channel used by Edge WebDriver.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minuteFix: Have an administrator review the effective policy. Do not attempt to bypass a corporate control in test code.
A Java Web Start file downloads but does not launch
Cause: This is outside the Chrome NPAPI applet path; file association, runtime compatibility, or application configuration may be wrong.
Fix: Capture the downloaded file name and operating-system error, then follow the application owner’s supported runtime instructions. Selenium cannot diagnose a desktop launch by changing browser plugin flags.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Security and maintenance considerations
Keeping an old browser solely to run an applet trades a visible compatibility problem for an ongoing security exposure. Mozilla’s warning about old browsers applies to personal data and the computer itself. If a temporary isolated environment is unavoidable, treat it as a risk-managed exception with no general browsing, restricted network access, and an explicit retirement plan approved by the system owner; do not present it as a permanent fix.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Also verify the Java version policy of your Selenium build before standardizing runners. Selenium announced that Java 11 would become the minimum supported version from September 30, 2023; see Selenium’s Java 8 support announcement and confirm the requirement for the exact Selenium release you deploy.
Best Value
When a screenshot is the actual requirement
If the business goal is documenting a page, not executing the applet, separate that requirement from functional automation. A screenshot service can capture the modern HTML around a failed or replaced component, but it cannot make an unsupported Java applet execute.
Or skip the browser setup
ScreenshotNeo is a website screenshot API and MCP server. Use it for screenshots of supported web pages or a modern replacement interface rather than as a Java-plugin workaround. A single GET request returns an image or PDF:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
See the ScreenshotNeo documentation for request options. The equivalent Python and Node.js calls are:
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
- Cookie and consent banners, newsletter popups, and chat widgets are removed before the shot; each cleanup step can be disabled.
- Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers identify the page verdict and billing result.
- An MCP server provides
take_screenshot,get_page_info, andcapture_pdftools for Claude, Cursor, and other MCP clients. - The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots. Every feature is included on every plan.
Sign up for the free ScreenshotNeo plan to capture supported pages without maintaining a browser-and-driver stack.
Frequently Asked Questions
Does installing a newer Java runtime restore the plugin?
No. The runtime and the browser plugin interface are separate. A newer runtime cannot add NPAPI support back to Chrome or Firefox.
Will Selenium Manager download Java for my test?
No. Selenium Manager handles browser-driver discovery and management. Java Web Start or standalone Java runtime setup remains a separate application concern.
Can an administrator unblock Edge WebDriver without changing the applet?
An administrator can review policies such as DeveloperToolsAvailability, which may restore WebDriver session creation. That does not restore an embedded Java plugin; the applet still needs a supported delivery model.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

