Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How to 'allow' silverlight plugin?

View previous topic View next topic Go down

How to 'allow' silverlight plugin?

Post by winston007 on Wed Sep 24, 2014 6:07 pm

I get this toolbar popup appearing at the start of my tests which requires human interaction to click the 'allow' / 'remember' button (although it never remembers it when using webdriver).



But, how do I avoid such a message appearing each time?
I am currently using Firefox.

My thoughts are:
I should create a preference somehow to enable/allow silverlight to run (??but what is the command?)
Code:
profile  = webdriver.FirefoxProfile()
profile.set_preference("  ---SOMETHING HERE MAYBE?? --- ")
driver = webdriver.Firefox(firefox_profile=profile)

I have also been looking in the about:config in Firefox to look for clues (maybe one is set to False when it should be true) but nothing with the name of 'silverlight' shows up there.

winston007

Posts : 1
Join date : 2014-09-24

Back to top Go down

Re: How to 'allow' silverlight plugin?

Post by thewayoutisthrough on Fri Oct 17, 2014 1:42 am

Hi, I also struggled with the Silverlight plugin in Firefox.

I ended up creating a new Firefox profile (naming it silverlightProfile). I'm unable to post a link for the instructions I followed on how to create a Firefox profile, but I followed the instructions on the 1st google search result for "toolsqa custom firefox profile".

I then launched Firefox with this new profile and set the Silverlight plugin to "Always Activate."

In my test, I called the silverlightProfile:

ProfilesIni profile = new ProfilesIni();
FirefoxProfile myprofile = profile.getProfile("silverlightProfile");
driver = new FirefoxDriver(myprofile);

When the test ran, I no longer got the silverlight popup asking if I wanted to allow.

I hope that helps.

thewayoutisthrough

Posts : 1
Join date : 2014-10-17

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum