If you are using firefox browser with selenium and you are facing captcha and certificates(for https traffic).
Then use same profile for handling captcha and certificate.
Refer the following link for "How to create a firefox profile".
http://seleniumproblemswithsolutions.blogspot.in/2012/10/how-to-create-profile-in-firefox-for.html
Now you can use same profile in webdriver using below code.
File f=new File("profile folder name");
FirefoxProfile firefoxProfile=new FirefoxProfile(f);
WebDriver driver = new FirefoxDriver(firefoxProfile);
Thanks for useful information.
ReplyDelete