How to set Firefox setting for Java plugin

17 views
Skip to first unread message

ashish b lal

unread,
Nov 14, 2014, 2:02:31 AM11/14/14
to seleniu...@googlegroups.com
Hi All,
How to set Firefox setting for Java plugin.Whenever i run my application through selenium web driver ,then activate my java Plugin option is displayed, which is not displayed if run normally.


Please help.
--
Hope to hear soon from you.
    
Thanks & Regards,
Ashish.B.LAL

PeterJeffreyGale

unread,
Nov 14, 2014, 3:07:06 AM11/14/14
to seleniu...@googlegroups.com
Are you using a profile?

ashish b lal

unread,
Nov 14, 2014, 3:33:59 AM11/14/14
to seleniu...@googlegroups.com
Im not using Profile.

On Fri, Nov 14, 2014 at 1:37 PM, PeterJeffreyGale <peterjef...@hotmail.co.uk> wrote:
Are you using a profile?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/80b7fec3-495c-4777-a964-5acd9e3a7832%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Hope to hear soon from you.
    
Thanks & Regards,
Ashish.B.LAL
9654879589

PeterJeffreyGale

unread,
Nov 14, 2014, 4:09:51 AM11/14/14
to seleniu...@googlegroups.com
Hmmn ... I'd have though it should clone the default profile if it works manually.

Here's some sample code for adding a plugin, though you'd have to find/download the plugin file first.

        File pluginFile = new File("C:/firebug-1.5.0.xpi");
        if (pluginFile.exists()) 
          firefoxProfile.addExtension(pluginFile)
        } else {
              // PLUGIN NOT FOUND!
        }       
       driver = new FirefoxDriver(firefoxProfile)
Reply all
Reply to author
Forward
0 new messages