File tree Expand file tree Collapse file tree
java/client/src/org/openqa/selenium/firefox Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121import static org .openqa .selenium .firefox .FirefoxDriver .BINARY ;
2222import static org .openqa .selenium .firefox .FirefoxDriver .PROFILE ;
2323
24- import com .google .common .base .Preconditions ;
2524import com .google .common .collect .ImmutableList ;
2625import com .google .gson .JsonArray ;
2726import com .google .gson .JsonElement ;
@@ -139,9 +138,6 @@ public FirefoxOptions setProfile(FirefoxProfile profile) {
139138
140139 // Confusing API. Keeping package visible only
141140 FirefoxOptions setProfileSafely (FirefoxProfile profile ) {
142- Preconditions .checkState (
143- this .profile == null || this .profile .equals (profile ),
144- "Profile passed to options is different from existing profile that has been set." );
145141 if (profile == null ) {
146142 return this ;
147143 }
You can’t perform that action at this time.
0 commit comments