Skip to content

Commit a703894

Browse files
committed
update jsdoc
1 parent b4611f1 commit a703894

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

packages/build/src/extensions/playwright.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,13 @@ const debian12Deps = {
184184
};
185185

186186
/**
187-
* Creates a Playwright extension for trigger.dev
188-
* @param options Configuration options
187+
* Installs Playwright browsers and dependencies for your Trigger.dev deployments.
188+
*
189+
* @param options - Configuration options for the Playwright extension.
190+
* @param options.browsers Browsers to install. Accepts an array of strings. Default: `["chromium"]`
191+
* @param options.headless Whether to run browsers in headless mode. Default: `true`
192+
* @param options.version Playwright version to use for browser installation. When not set, will automatically detect the version (recommended). Default: `undefined`
193+
*
189194
*/
190195
export function playwright(options: PlaywrightExtensionOptions = {}) {
191196
return new PlaywrightExtension(options);

0 commit comments

Comments
 (0)