How to create profile in Firefox using Selenium WebDriver
问题 When we write something like this: FirefoxProfile ffprofile = new FirefoxProfile(new File("D:\\Selenium")); Does it mean we are creating a new Profile? Because I won't be able to find any new profile in the Firefox Profile section. So now my question is, how do I create a new profile for a Firefox browser? 回答1: The method call you stated simply creates a java profile object from the given directory of profile information which is then passed to Firefox via the WebDriver instance. In order to