File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
java/client/src/org/openqa/selenium/firefox Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 26
26
import static org .openqa .selenium .remote .CapabilityType .SUPPORTS_WEB_STORAGE ;
27
27
import static org .openqa .selenium .remote .CapabilityType .VERSION ;
28
28
29
+ import com .google .common .annotations .VisibleForTesting ;
29
30
import com .google .common .base .Joiner ;
30
31
import com .google .common .base .Preconditions ;
31
32
import com .google .common .collect .ImmutableList ;
@@ -276,7 +277,8 @@ public FirefoxProfile getProfile() {
276
277
return getProfileOrNull ().orElseGet (() -> fullyPopulateProfile (new FirefoxProfile ()));
277
278
}
278
279
279
- private Optional <FirefoxProfile > getProfileOrNull () {
280
+ @ VisibleForTesting
281
+ Optional <FirefoxProfile > getProfileOrNull () {
280
282
FirefoxProfile profileToUse = profile ;
281
283
if (profileToUse == null ) {
282
284
profileToUse = extractProfile (requiredCapabilities );
You can’t perform that action at this time.
0 commit comments