← ClaudeAtlas

testdriverprovisionlisted

Launch browsers, desktop apps, and extensions in your sandbox
testdriverai/testdriverai · ★ 243 · Testing & QA · score 73
Install: claude install-skill testdriverai/testdriverai
<!-- Generated from provision.mdx. DO NOT EDIT. --> ## Overview The Provision API sets up applications in your sandbox before the tests run. It downloads, installs, and starts browsers, desktop apps, VS Code, Chrome extensions, and more. Use the provision methods through `testdriver.provision.*`: ```javascript await testdriver.provision.chrome({ url: 'https://example.com' }); ``` ## Methods ### chrome() Start Google Chrome with an optional URL. ```javascript await testdriver.provision.chrome(options?) ``` <ParamField path="options" type="ProvisionChromeOptions"> <Expandable title="properties"> <ParamField path="url" type="string" default="http://testdriver-sandbox.vercel.app/"> The URL to go to after Chrome starts. </ParamField> <ParamField path="maximized" type="boolean" default={true}> Start Chrome with the window at the maximum size. </ParamField> <ParamField path="guest" type="boolean" default={false}> Start Chrome in the guest profile mode. </ParamField> </Expandable> </ParamField> ```javascript // Basic await testdriver.provision.chrome({ url: 'https://example.com' }); // With guest mode await testdriver.provision.chrome({ url: 'https://example.com', guest: true, maximized: true, }); ``` ### chromeExtension() Install and start a Chrome extension. You can install it from a local unpacked directory. Or you can install it from the Chrome Web Store by the extension ID. ```javascript await testdriver