You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit updates the documentation for the k6 browser's
BrowserType.Connect method by fixing the method signature and adding
a dedicated page which documents the supported arguments and provides an
example.
| browserType.connect([options]) <BWIPTid="17"/> | Connect attaches k6 browser to an existing browser instance.|
10
+
|[browserType.connect(wsURL, [options])](/javascript-api/k6-browser/api/browsertype/connect/)| Connect attaches k6 browser to an existing browser instance. |
11
11
|[browserType.executablePath()](/javascript-api/k6-experimental/browser/browsertype/executablepath/)| Returns the path where the extension expects to find the browser executable. |
12
12
|[browserType.launch([options])](/javascript-api/k6-experimental/browser/browsertype/launch/)| Launches a new browser process. |
13
13
| browserType.launchPersistentContext(userDataDir, [options]) <BWIPTid="16"/> | Launches the browser with persistent storage. |
0 commit comments