@@ -52,8 +52,7 @@ class ConnectOptions {
5252 */
5353 public Double slowMo ;
5454 /**
55- * Maximum time in milliseconds to wait for the connection to be established. Defaults to {@code 30000} (30 seconds). Pass {@code 0} to
56- * disable timeout.
55+ * Maximum time in milliseconds to wait for the connection to be established. Defaults to {@code 0} (no timeout).
5756 */
5857 public Double timeout ;
5958
@@ -73,8 +72,7 @@ public ConnectOptions setSlowMo(double slowMo) {
7372 return this ;
7473 }
7574 /**
76- * Maximum time in milliseconds to wait for the connection to be established. Defaults to {@code 30000} (30 seconds). Pass {@code 0} to
77- * disable timeout.
75+ * Maximum time in milliseconds to wait for the connection to be established. Defaults to {@code 0} (no timeout).
7876 */
7977 public ConnectOptions setTimeout (double timeout ) {
8078 this .timeout = timeout ;
@@ -130,7 +128,7 @@ class LaunchOptions {
130128 /**
131129 * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge",
132130 * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using <a
133- * href="https://playwright.dev/java/docs/ browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
131+ * href="../ browsers.md #google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
134132 */
135133 public Object channel ;
136134 /**
@@ -222,7 +220,7 @@ public LaunchOptions setArgs(List<String> args) {
222220 /**
223221 * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge",
224222 * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using <a
225- * href="https://playwright.dev/java/docs/ browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
223+ * href="../ browsers.md #google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
226224 */
227225 public LaunchOptions setChannel (BrowserChannel channel ) {
228226 this .channel = channel ;
@@ -231,7 +229,7 @@ public LaunchOptions setChannel(BrowserChannel channel) {
231229 /**
232230 * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge",
233231 * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using <a
234- * href="https://playwright.dev/java/docs/ browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
232+ * href="../ browsers.md #google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
235233 */
236234 public LaunchOptions setChannel (String channel ) {
237235 this .channel = channel ;
@@ -399,7 +397,7 @@ class LaunchPersistentContextOptions {
399397 /**
400398 * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge",
401399 * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using <a
402- * href="https://playwright.dev/java/docs/ browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
400+ * href="../ browsers.md #google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
403401 */
404402 public Object channel ;
405403 /**
@@ -625,7 +623,7 @@ public LaunchPersistentContextOptions setBypassCSP(boolean bypassCSP) {
625623 /**
626624 * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge",
627625 * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using <a
628- * href="https://playwright.dev/java/docs/ browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
626+ * href="../ browsers.md #google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
629627 */
630628 public LaunchPersistentContextOptions setChannel (BrowserChannel channel ) {
631629 this .channel = channel ;
@@ -634,7 +632,7 @@ public LaunchPersistentContextOptions setChannel(BrowserChannel channel) {
634632 /**
635633 * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge",
636634 * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using <a
637- * href="https://playwright.dev/java/docs/ browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
635+ * href="../ browsers.md #google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
638636 */
639637 public LaunchPersistentContextOptions setChannel (String channel ) {
640638 this .channel = channel ;
@@ -971,21 +969,21 @@ public LaunchPersistentContextOptions setViewportSize(ViewportSize viewportSize)
971969 }
972970 }
973971 /**
974- * This methods attaches Playwright to an existing browser instance.
972+ * This method attaches Playwright to an existing browser instance.
975973 *
976974 * @param wsEndpoint A browser websocket endpoint to connect to.
977975 */
978976 default Browser connect (String wsEndpoint ) {
979977 return connect (wsEndpoint , null );
980978 }
981979 /**
982- * This methods attaches Playwright to an existing browser instance.
980+ * This method attaches Playwright to an existing browser instance.
983981 *
984982 * @param wsEndpoint A browser websocket endpoint to connect to.
985983 */
986984 Browser connect (String wsEndpoint , ConnectOptions options );
987985 /**
988- * This methods attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
986+ * This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
989987 *
990988 * <p> The default browser context is accessible via {@link Browser#contexts Browser.contexts()}.
991989 *
@@ -998,7 +996,7 @@ default Browser connectOverCDP(String endpointURL) {
998996 return connectOverCDP (endpointURL , null );
999997 }
1000998 /**
1001- * This methods attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
999+ * This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
10021000 *
10031001 * <p> The default browser context is accessible via {@link Browser#contexts Browser.contexts()}.
10041002 *
0 commit comments