Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7744183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:42:28+00:00 2026-06-01T09:42:28+00:00

I need to invoke Selenium from Client Side, so I’m trying to run Selenium

  • 0

I need to invoke Selenium from Client Side, so I’m trying to run Selenium from a Java Applet in a static HTML page.

I’m using firefox 3.6.12 in SUSE Linux environment.
The HTML page looks like this

<HTML> 
<HEAD> 
</HEAD> 
<BODY> 
<APPLET ALIGN="CENTER" CODE="SeleniumTest.class" WIDTH="800" 
HEIGHT="500" archive="/home/******/Selenium/selenium-2.20.0/selenium- 
server-standalone-2.20.0.jar,/home/******/Selenium/selenium-2.20.0/ 
selenium-java-2.20.0.jar,/home/*******/Selenium/selenium-2.20.0/ 
selenium-firefox-driver-2.0a5.jar" ></APPLET> 
</BODY> 
</HTML> 

The Applet was loaded and info statements were printed. But, during
the creation of webdriver, I’m getting the below exception in Java
Console and it stops there.

Exception in thread "AWT-EventQueue-8" java.lang.NoClassDefFoundError: 
Could not initialize class 
org.openqa.selenium.firefox.internal.Executable 
        at 
org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java: 
56) 
        at 
org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java: 
52) 
        at 
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java: 
84) 
        at SeleniumTest.getWebDriver(SeleniumTest.java:36) 
        at SeleniumTest.runTest(SeleniumTest.java:85) 
        at SeleniumTest.paint(SeleniumTest.java:23) 
        at sun.awt.RepaintArea.paintComponent(Unknown Source) 
        at sun.awt.X11.XRepaintArea.paintComponent(Unknown Source) 
        at sun.awt.RepaintArea.paint(Unknown Source) 
        at sun.awt.X11.XComponentPeer.handleEvent(Unknown Source) 
        at java.awt.Component.dispatchEventImpl(Unknown Source) 
        at java.awt.Container.dispatchEventImpl(Unknown Source) 
        at java.awt.Component.dispatchEvent(Unknown Source) 
        at java.awt.EventQueue.dispatchEvent(Unknown Source) 
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown 
Source) 
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) 
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown 
Source) 
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
        at java.awt.EventDispatchThread.run(Unknown Source) 

I have added the ‘selenium-firefox-driver-2.0a5.jar’ to my ‘archive’
attribute of Applet declaration in HTML.

Is applet capable of doing such operations ? (Since, it uses JVM, I guess it should be)

What else should I do to overcome this issue ?

Is there any work-around to start selenium from browser other than using java applets ?

PS: When I try to run the Applet alone in eclipse, it works fine. But, I get this problem when I open it in browser.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T09:42:29+00:00Added an answer on June 1, 2026 at 9:42 am

    Using Signed Applets solved the issue.

    Reference: http://www.developer.com/java/other/article.php/3303561/Creating-a-Trusted-Applet-with-Local-File-System-Access-Rights.htm

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to invoke a mapreduce job from java application. I use ToolRunner.run(new Validation(),
Basically; I need to invoke a method on my WPF page, from a WPF
There is a Java service that I need to invoke from PHP that looks
I need to invoke a VBA macro within an Excel workbook from a python
I need to invoke a call from code how can i do it ?
I need to invoke make (build a makefile) in a directory different from the
Team: I need to invoke a WF activity (XAML) from a WF service (XAMLX)
I am using JBoss Richfaces and I need to invoke rich:modalPanel when a particular
I have a webservice on a remote host that I need to invoke from
I need to invoke a process which doesn't require any input from the user,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.