@@ -382,7 +382,7 @@ class LaunchPersistentContextOptions {
382382 * Page.waitForURL()}, {@link Page#waitForRequest Page.waitForRequest()}, or {@link Page#waitForResponse
383383 * Page.waitForResponse()} it takes the base URL in consideration by using the <a
384384 * href="https://developer.mozilla.org/en-US/docs/Web/API/URL/URL">{@code URL()}</a> constructor for building the
385- * corresponding URL. Examples:
385+ * corresponding URL. Unset by default. Examples:
386386 * <ul>
387387 * <li> baseURL: {@code http://localhost:3000} and navigating to {@code /bar.html} results in {@code
388388 * http://localhost:3000/bar.html}</li>
@@ -394,7 +394,7 @@ class LaunchPersistentContextOptions {
394394 */
395395 public String baseURL ;
396396 /**
397- * Toggles bypassing page's Content-Security-Policy.
397+ * Toggles bypassing page's Content-Security-Policy. Defaults to {@code false}.
398398 */
399399 public Boolean bypassCSP ;
400400 /**
@@ -440,7 +440,7 @@ class LaunchPersistentContextOptions {
440440 */
441441 public Path executablePath ;
442442 /**
443- * An object containing additional HTTP headers to be sent with every request.
443+ * An object containing additional HTTP headers to be sent with every request. Defaults to none.
444444 */
445445 public Map <String , String > extraHTTPHeaders ;
446446 /**
@@ -506,8 +506,9 @@ class LaunchPersistentContextOptions {
506506 public Boolean javaScriptEnabled ;
507507 /**
508508 * Specify user locale, for example {@code en-GB}, {@code de-DE}, etc. Locale will affect {@code navigator.language} value,
509- * {@code Accept-Language} request header value as well as number and date formatting rules. Learn more about emulation in
510- * our <a href="https://playwright.dev/java/docs/emulation#locale--timezone">emulation guide</a>.
509+ * {@code Accept-Language} request header value as well as number and date formatting rules. Defaults to the system default
510+ * locale. Learn more about emulation in our <a
511+ * href="https://playwright.dev/java/docs/emulation#locale--timezone">emulation guide</a>.
511512 */
512513 public String locale ;
513514 /**
@@ -517,7 +518,7 @@ class LaunchPersistentContextOptions {
517518 public Boolean offline ;
518519 /**
519520 * A list of permissions to grant to all pages in this context. See {@link BrowserContext#grantPermissions
520- * BrowserContext.grantPermissions()} for more details.
521+ * BrowserContext.grantPermissions()} for more details. Defaults to none.
521522 */
522523 public List <String > permissions ;
523524 /**
@@ -585,7 +586,8 @@ class LaunchPersistentContextOptions {
585586 /**
586587 * If set to true, enables strict selectors mode for this context. In the strict selectors mode all operations on selectors
587588 * that imply single target DOM element will throw when more than one element matches the selector. This option does not
588- * affect any Locator APIs (Locators are always strict). See {@code Locator} to learn more about the strict mode.
589+ * affect any Locator APIs (Locators are always strict). Defaults to {@code false}. See {@code Locator} to learn more about
590+ * the strict mode.
589591 */
590592 public Boolean strictSelectors ;
591593 /**
@@ -596,7 +598,7 @@ class LaunchPersistentContextOptions {
596598 /**
597599 * Changes the timezone of the context. See <a
598600 * href="https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1">ICU's
599- * metaZones.txt</a> for a list of supported timezone IDs.
601+ * metaZones.txt</a> for a list of supported timezone IDs. Defaults to the system timezone.
600602 */
601603 public String timezoneId ;
602604 /**
@@ -637,7 +639,7 @@ public LaunchPersistentContextOptions setArgs(List<String> args) {
637639 * Page.waitForURL()}, {@link Page#waitForRequest Page.waitForRequest()}, or {@link Page#waitForResponse
638640 * Page.waitForResponse()} it takes the base URL in consideration by using the <a
639641 * href="https://developer.mozilla.org/en-US/docs/Web/API/URL/URL">{@code URL()}</a> constructor for building the
640- * corresponding URL. Examples:
642+ * corresponding URL. Unset by default. Examples:
641643 * <ul>
642644 * <li> baseURL: {@code http://localhost:3000} and navigating to {@code /bar.html} results in {@code
643645 * http://localhost:3000/bar.html}</li>
@@ -652,7 +654,7 @@ public LaunchPersistentContextOptions setBaseURL(String baseURL) {
652654 return this ;
653655 }
654656 /**
655- * Toggles bypassing page's Content-Security-Policy.
657+ * Toggles bypassing page's Content-Security-Policy. Defaults to {@code false}.
656658 */
657659 public LaunchPersistentContextOptions setBypassCSP (boolean bypassCSP ) {
658660 this .bypassCSP = bypassCSP ;
@@ -735,7 +737,7 @@ public LaunchPersistentContextOptions setExecutablePath(Path executablePath) {
735737 return this ;
736738 }
737739 /**
738- * An object containing additional HTTP headers to be sent with every request.
740+ * An object containing additional HTTP headers to be sent with every request. Defaults to none.
739741 */
740742 public LaunchPersistentContextOptions setExtraHTTPHeaders (Map <String , String > extraHTTPHeaders ) {
741743 this .extraHTTPHeaders = extraHTTPHeaders ;
@@ -853,8 +855,9 @@ public LaunchPersistentContextOptions setJavaScriptEnabled(boolean javaScriptEna
853855 }
854856 /**
855857 * Specify user locale, for example {@code en-GB}, {@code de-DE}, etc. Locale will affect {@code navigator.language} value,
856- * {@code Accept-Language} request header value as well as number and date formatting rules. Learn more about emulation in
857- * our <a href="https://playwright.dev/java/docs/emulation#locale--timezone">emulation guide</a>.
858+ * {@code Accept-Language} request header value as well as number and date formatting rules. Defaults to the system default
859+ * locale. Learn more about emulation in our <a
860+ * href="https://playwright.dev/java/docs/emulation#locale--timezone">emulation guide</a>.
858861 */
859862 public LaunchPersistentContextOptions setLocale (String locale ) {
860863 this .locale = locale ;
@@ -870,7 +873,7 @@ public LaunchPersistentContextOptions setOffline(boolean offline) {
870873 }
871874 /**
872875 * A list of permissions to grant to all pages in this context. See {@link BrowserContext#grantPermissions
873- * BrowserContext.grantPermissions()} for more details.
876+ * BrowserContext.grantPermissions()} for more details. Defaults to none.
874877 */
875878 public LaunchPersistentContextOptions setPermissions (List <String > permissions ) {
876879 this .permissions = permissions ;
@@ -1002,7 +1005,8 @@ public LaunchPersistentContextOptions setSlowMo(double slowMo) {
10021005 /**
10031006 * If set to true, enables strict selectors mode for this context. In the strict selectors mode all operations on selectors
10041007 * that imply single target DOM element will throw when more than one element matches the selector. This option does not
1005- * affect any Locator APIs (Locators are always strict). See {@code Locator} to learn more about the strict mode.
1008+ * affect any Locator APIs (Locators are always strict). Defaults to {@code false}. See {@code Locator} to learn more about
1009+ * the strict mode.
10061010 */
10071011 public LaunchPersistentContextOptions setStrictSelectors (boolean strictSelectors ) {
10081012 this .strictSelectors = strictSelectors ;
@@ -1019,7 +1023,7 @@ public LaunchPersistentContextOptions setTimeout(double timeout) {
10191023 /**
10201024 * Changes the timezone of the context. See <a
10211025 * href="https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1">ICU's
1022- * metaZones.txt</a> for a list of supported timezone IDs.
1026+ * metaZones.txt</a> for a list of supported timezone IDs. Defaults to the system timezone.
10231027 */
10241028 public LaunchPersistentContextOptions setTimezoneId (String timezoneId ) {
10251029 this .timezoneId = timezoneId ;
0 commit comments