@@ -101,10 +101,10 @@ class NewContextOptions {
101101 *
102102 * <p> <strong>Details</strong>
103103 *
104- * <p> An array of client certificates to be used. Each certificate object must have both {@code certPath} and {@code keyPath}
105- * or a single {@code pfxPath} to load the client certificate. Optionally, {@code passphrase} property should be provided
106- * if the certficiate is encrypted. The {@code origin } property should be provided with an exact match to the request
107- * origin that the certificate is valid for.
104+ * <p> An array of client certificates to be used. Each certificate object must have either both {@code certPath} and {@code
105+ * keyPath}, a single {@code pfxPath}, or their corresponding direct value equivalents ( {@code cert} and {@code key}, or
106+ * {@code pfx}). Optionally, {@code passphrase } property should be provided if the certificate is encrypted. The {@code
107+ * origin} property should be provided with an exact match to the request origin that the certificate is valid for.
108108 *
109109 * <p> <strong>NOTE:</strong> Using Client Certificates in combination with Proxy Servers is not supported.
110110 *
@@ -179,10 +179,6 @@ class NewContextOptions {
179179 public List <String > permissions ;
180180 /**
181181 * Network proxy settings to use with this context. Defaults to none.
182- *
183- * <p> <strong>NOTE:</strong> For Chromium on Windows the browser needs to be launched with the global proxy for this option to work. If all contexts
184- * override the proxy, global proxy will be never used and can be any string, for example {@code launch({ proxy: { server:
185- * 'http://per-context' } })}.
186182 */
187183 public Proxy proxy ;
188184 /**
@@ -316,10 +312,10 @@ public NewContextOptions setBypassCSP(boolean bypassCSP) {
316312 *
317313 * <p> <strong>Details</strong>
318314 *
319- * <p> An array of client certificates to be used. Each certificate object must have both {@code certPath} and {@code keyPath}
320- * or a single {@code pfxPath} to load the client certificate. Optionally, {@code passphrase} property should be provided
321- * if the certficiate is encrypted. The {@code origin } property should be provided with an exact match to the request
322- * origin that the certificate is valid for.
315+ * <p> An array of client certificates to be used. Each certificate object must have either both {@code certPath} and {@code
316+ * keyPath}, a single {@code pfxPath}, or their corresponding direct value equivalents ( {@code cert} and {@code key}, or
317+ * {@code pfx}). Optionally, {@code passphrase } property should be provided if the certificate is encrypted. The {@code
318+ * origin} property should be provided with an exact match to the request origin that the certificate is valid for.
323319 *
324320 * <p> <strong>NOTE:</strong> Using Client Certificates in combination with Proxy Servers is not supported.
325321 *
@@ -446,20 +442,12 @@ public NewContextOptions setPermissions(List<String> permissions) {
446442 }
447443 /**
448444 * Network proxy settings to use with this context. Defaults to none.
449- *
450- * <p> <strong>NOTE:</strong> For Chromium on Windows the browser needs to be launched with the global proxy for this option to work. If all contexts
451- * override the proxy, global proxy will be never used and can be any string, for example {@code launch({ proxy: { server:
452- * 'http://per-context' } })}.
453445 */
454446 public NewContextOptions setProxy (String server ) {
455447 return setProxy (new Proxy (server ));
456448 }
457449 /**
458450 * Network proxy settings to use with this context. Defaults to none.
459- *
460- * <p> <strong>NOTE:</strong> For Chromium on Windows the browser needs to be launched with the global proxy for this option to work. If all contexts
461- * override the proxy, global proxy will be never used and can be any string, for example {@code launch({ proxy: { server:
462- * 'http://per-context' } })}.
463451 */
464452 public NewContextOptions setProxy (Proxy proxy ) {
465453 this .proxy = proxy ;
@@ -666,10 +654,10 @@ class NewPageOptions {
666654 *
667655 * <p> <strong>Details</strong>
668656 *
669- * <p> An array of client certificates to be used. Each certificate object must have both {@code certPath} and {@code keyPath}
670- * or a single {@code pfxPath} to load the client certificate. Optionally, {@code passphrase} property should be provided
671- * if the certficiate is encrypted. The {@code origin } property should be provided with an exact match to the request
672- * origin that the certificate is valid for.
657+ * <p> An array of client certificates to be used. Each certificate object must have either both {@code certPath} and {@code
658+ * keyPath}, a single {@code pfxPath}, or their corresponding direct value equivalents ( {@code cert} and {@code key}, or
659+ * {@code pfx}). Optionally, {@code passphrase } property should be provided if the certificate is encrypted. The {@code
660+ * origin} property should be provided with an exact match to the request origin that the certificate is valid for.
673661 *
674662 * <p> <strong>NOTE:</strong> Using Client Certificates in combination with Proxy Servers is not supported.
675663 *
@@ -744,10 +732,6 @@ class NewPageOptions {
744732 public List <String > permissions ;
745733 /**
746734 * Network proxy settings to use with this context. Defaults to none.
747- *
748- * <p> <strong>NOTE:</strong> For Chromium on Windows the browser needs to be launched with the global proxy for this option to work. If all contexts
749- * override the proxy, global proxy will be never used and can be any string, for example {@code launch({ proxy: { server:
750- * 'http://per-context' } })}.
751735 */
752736 public Proxy proxy ;
753737 /**
@@ -881,10 +865,10 @@ public NewPageOptions setBypassCSP(boolean bypassCSP) {
881865 *
882866 * <p> <strong>Details</strong>
883867 *
884- * <p> An array of client certificates to be used. Each certificate object must have both {@code certPath} and {@code keyPath}
885- * or a single {@code pfxPath} to load the client certificate. Optionally, {@code passphrase} property should be provided
886- * if the certficiate is encrypted. The {@code origin } property should be provided with an exact match to the request
887- * origin that the certificate is valid for.
868+ * <p> An array of client certificates to be used. Each certificate object must have either both {@code certPath} and {@code
869+ * keyPath}, a single {@code pfxPath}, or their corresponding direct value equivalents ( {@code cert} and {@code key}, or
870+ * {@code pfx}). Optionally, {@code passphrase } property should be provided if the certificate is encrypted. The {@code
871+ * origin} property should be provided with an exact match to the request origin that the certificate is valid for.
888872 *
889873 * <p> <strong>NOTE:</strong> Using Client Certificates in combination with Proxy Servers is not supported.
890874 *
@@ -1011,20 +995,12 @@ public NewPageOptions setPermissions(List<String> permissions) {
1011995 }
1012996 /**
1013997 * Network proxy settings to use with this context. Defaults to none.
1014- *
1015- * <p> <strong>NOTE:</strong> For Chromium on Windows the browser needs to be launched with the global proxy for this option to work. If all contexts
1016- * override the proxy, global proxy will be never used and can be any string, for example {@code launch({ proxy: { server:
1017- * 'http://per-context' } })}.
1018998 */
1019999 public NewPageOptions setProxy (String server ) {
10201000 return setProxy (new Proxy (server ));
10211001 }
10221002 /**
10231003 * Network proxy settings to use with this context. Defaults to none.
1024- *
1025- * <p> <strong>NOTE:</strong> For Chromium on Windows the browser needs to be launched with the global proxy for this option to work. If all contexts
1026- * override the proxy, global proxy will be never used and can be any string, for example {@code launch({ proxy: { server:
1027- * 'http://per-context' } })}.
10281004 */
10291005 public NewPageOptions setProxy (Proxy proxy ) {
10301006 this .proxy = proxy ;
0 commit comments