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 2 of 2

Thread: using addons with selenium

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

    Default using addons with selenium

    i am using an addon with selenium and it works fine but how do you go about affecting the settings of addons in selenium?
    File file = new File("/home/admin/NetBeansProjects/adf/refcontrol-0.8.16-sm+fx.xpi");
    FirefoxProfile profilepaste = new FirefoxProfile();
    profilepaste.addExtension(file);
    WebDriver np=new FirefoxDriver(profilepaste);
    np.get(link);

    the problem is that this addon doesint do anything unless you configure it first but there is little to no documentation that i can find on this or any addon in selenium does anyone have any experiance with thisor configuring any addon in webdriver?

    thanks


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

    Default Re: using addons with selenium

    the only soultion is to edit the code in addon

Similar Threads

  1. selenium profile
    By bean in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 11th, 2013, 12:22 PM
  2. Replies: 5
    Last Post: January 14th, 2013, 09:50 AM
  3. Need Java code to be used in Selenium Script
    By anujbatta in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 25th, 2011, 11:50 AM