Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: prevent selenium from loading plugins?

  1. #1
    Member
    Join Date
    Apr 2013
    Posts
    83
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default prevent selenium from loading plugins?

    hi im starting selenium with the code
    WebDriver driver = new FirefoxDriver();
    driver.get("http//:www.google.com");
    however it is loading the following list of plugins which i dont want to load
    Plugin 0: DivX® Web Player; DivX Web Player version 1.4.0.233; libtotem-mully-plugin.so; (AVI video; video/divx; divx). Plugin 1: IcedTea-Web Plugin (using IcedTea-Web 1.2.3 (1.2.3-0ubuntu0.12.04.3)); The <a href=\"http://icedtea.classpath.org/wiki/IcedTea-Web\">IcedTea-Web Plugin</a> executes Java applets.; IcedTeaPlugin.so; (IcedTea; application/x-java-vm; class,jar) (IcedTea; application/x-java-applet; class,jar) (IcedTea; application/x-java-applet;version=1.1; class,jar) (IcedTea; application/x-java-applet;version=1.1.1; class,jar) (IcedTea; application/x-java-applet;version=1.1.2; class,jar) (IcedTea; application/x-java-applet;version=1.1.3; class,jar) (IcedTea; application/x-java-applet;version=1.2; class,jar) (IcedTea; application/x-java-applet;version=1.2.1; class,jar) (IcedTea; application/x-java-applet;version=1.2.2; class,jar) (IcedTea; application/x-java-applet;version=1.3; class,jar) (IcedTea; application/x-java-applet;version=1.3.1; class,jar) (IcedTea; application/x-java-applet;version=1.4; class,jar) (IcedTea; application/x-java-applet;version=1.4.1; class,jar) (IcedTea; application/x-java-applet;version=1.4.2; class,jar) (IcedTea; application/x-java-applet;version=1.5; class,jar) (IcedTea; application/x-java-applet;version=1.6; class,jar) (IcedTea; application/x-java-applet;jpi-version=1.6.0_50; class,jar) (IcedTea; application/x-java-bean; class,jar) (IcedTea; application/x-java-bean;version=1.1; class,jar) (IcedTea; application/x-java-bean;version=1.1.1; class,jar) (IcedTea; application/x-java-bean;version=1.1.2; class,jar) (IcedTea; application/x-java-bean;version=1.1.3; class,jar) (IcedTea; application/x-java-bean;version=1.2; class,jar) (IcedTea; application/x-java-bean;version=1.2.1; class,jar) (IcedTea; application/x-java-bean;version=1.2.2; class,jar) (IcedTea; application/x-java-bean;version=1.3; class,jar) (IcedTea; application/x-java-bean;version=1.3.1; class,jar) (IcedTea; application/x-java-bean;version=1.4; class,jar) (IcedTea; application/x-java-bean;version=1.4.1; class,jar) (IcedTea; application/x-java-bean;version=1.4.2; class,jar) (IcedTea; application/x-java-bean;version=1.5; class,jar) (IcedTea; application/x-java-bean;version=1.6; class,jar) (IcedTea; application/x-java-bean;jpi-version=1.6.0_50; class,jar) (IcedTea; application/x-java-vm-npruntime; ). Plugin 2: QuickTime Plug-in 7.6.6; The <a href=\"http://www.gnome.org/projects/totem/\">Totem</a> 3.0.1 plugin handles video and audio streams.; libtotem-narrowspace-plugin.so; (QuickTime video; video/quicktime; mov) (MPEG-4 video; video/mp4; mp4) (MacPaint Bitmap image; image/x-macpaint; pntg) (Macintosh Quickdraw/PICT drawing; image/x-quicktime; pict, pict1, pict2) (MPEG-4 video; video/x-m4v; m4v). Plugin 3: Shockwave Flash; Shockwave Flash 11.2 r202; libflashplayer.so; (Shockwave Flash; application/x-shockwave-flash; swf) (FutureSplash Player; application/futuresplash; spl). Plugin 4: VLC Multimedia Plugin (compatible Totem 3.0.1); The <a href=\"http://www.gnome.org/projects/totem/\">Totem</a> 3.0.1 plugin handles video and audio streams.; libtotem-cone-plugin.so; (VLC Multimedia Plugin; application/x-vlc-plugin; ) (VLC Multimedia Plugin; application/vlc; ) (VLC Multimedia Plugin; video/x-google-vlc-plugin; ) (Ogg multimedia file; application/x-ogg; ogg) (Ogg multimedia file; application/ogg; ogg) (Ogg Audio; audio/ogg; oga) (Ogg Audio; audio/x-ogg; ogg) (Ogg Video; video/ogg; ogv) (Ogg Video; video/x-ogg; ogg) (Annodex exchange format; application/annodex; anx) (Annodex Audio; audio/annodex; axa) (Annodex Video; video/annodex; axv) (MPEG video; video/mpeg; mpg, mpeg, mpe) (WAV audio; audio/wav; wav) (WAV audio; audio/x-wav; wav) (MP3 audio; audio/mpeg; mp3) (NullSoft video; application/x-nsv-vp3-mp3; nsv) (Flash video; video/flv; flv) (WebM video; video/webm; webm) (Totem Multimedia plugin; application/x-totem-plugin; ) (MIDI audio; audio/midi; mid, midi). Plugin 5: Windows Media Player Plug-in 10 (compatible; Totem); The <a href=\"http://www.gnome.org/projects/totem/\">Totem</a> 3.0.1 plugin handles video and audio streams.; libtotem-gmp-plugin.so; (AVI video; application/x-mplayer2; avi, wma, wmv) (ASF video; video/x-ms-asf-plugin; asf, wmv) (AVI video; video/x-msvideo; asf, wmv) (ASF video; video/x-ms-asf; asf) (Windows Media video; video/x-ms-wmv; wmv) (Windows Media video; video/x-wmv; wmv) (Windows Media video; video/x-ms-wvx; wmv) (Windows Media video; video/x-ms-wm; wmv) (Windows Media video; video/x-ms-wmp; wmv) (Windows Media video; application/x-ms-wms; wms) (Windows Media video; application/x-ms-wmp; wmp) (Microsoft ASX playlist; application/asx; asx) (Windows Media audio; audio/x-ms-wma; wma). Plugin 6: iTunes Application Detector; This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.; librhythmbox-itms-detection-plugin.so; (; application/itunes-plugin; ).
    it there a way to load selenium with JUST the addons/plugins which i want without al these addons ? im using ubuntu and i reckon its system installed icetea thats is putting all these plugins into my driver but i tought and would like selenium to load only the plugins i specify in the profile.
    thanks.
    Last edited by bean; August 5th, 2013 at 12:19 PM. Reason: solved


  2. #2
    Member
    Join Date
    Apr 2013
    Posts
    83
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default Re: prevent selenium from loading plugins?

    for anyone with same issue the only solution i have found was to gointo firefox profile manager with cmd
    firefox -no-remote -ProfileManager
    --on linux system"might be different on micrapsoft
    and set up a new profile and kill all the extensions lan packs EVERYTHING! its a messy solution but it worked

  3. The Following User Says Thank You to bean For This Useful Post:

    jps (August 5th, 2013)

  4. #3
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: prevent selenium from loading plugins?

    Thank you for returning to provide the solution for others

Similar Threads

  1. using addons with selenium
    By bean in forum What's Wrong With My Code?
    Replies: 1
    Last Post: August 28th, 2013, 01:38 PM
  2. another selenium question
    By bean in forum What's Wrong With My Code?
    Replies: 0
    Last Post: July 17th, 2013, 02:51 PM
  3. selenium profile
    By bean in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 11th, 2013, 11:22 AM
  4. HOw to get right plugins and how to use them??
    By kamalpreet24 in forum The Cafe
    Replies: 1
    Last Post: February 15th, 2013, 07:09 AM