13.1. Providing your own Firefox profile

If you need to configure your own customized Firefox profile, you can do this by using the Thucydidies.useFirefoxProfile() method before you start your tests. For example:

@Before
public void setupProfile() {
    FirefoxProfile myProfile = new FirefoxProfile();
    myProfile.setPreference("network.proxy.socks_port",9999);
    myProfile.setAlwaysLoadNoFocusLib(true);
    myProfile.setEnableNativeEvents(true);
    Thucydides.useFirefoxProfile(myProfile);
}

@Test
public void aTestUsingMyCustomProfile() {...}
mvn verify -Dtags="iteration:I1"

mvn verify -Dtags="color:red,flavor:strawberry"