Skip to content

Commit 3c200d7

Browse files
committed
Fix the build
1 parent a0bc911 commit 3c200d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

java/client/src/org/openqa/selenium/firefox/FirefoxOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_WEB_STORAGE;
2727
import static org.openqa.selenium.remote.CapabilityType.VERSION;
2828

29+
import com.google.common.annotations.VisibleForTesting;
2930
import com.google.common.base.Joiner;
3031
import com.google.common.base.Preconditions;
3132
import com.google.common.collect.ImmutableList;
@@ -276,7 +277,8 @@ public FirefoxProfile getProfile() {
276277
return getProfileOrNull().orElseGet(() -> fullyPopulateProfile(new FirefoxProfile()));
277278
}
278279

279-
private Optional<FirefoxProfile> getProfileOrNull() {
280+
@VisibleForTesting
281+
Optional<FirefoxProfile> getProfileOrNull() {
280282
FirefoxProfile profileToUse = profile;
281283
if (profileToUse == null) {
282284
profileToUse = extractProfile(requiredCapabilities);

0 commit comments

Comments
 (0)