{"_id":"@aws/synthetics-playwright","_rev":"14-5ee9bd387e60a1639a1a4c6205d16699","name":"@aws/synthetics-playwright","dist-tags":{"latest":"7.0.0"},"versions":{"5.1.0":{"name":"@aws/synthetics-playwright","version":"5.1.0","keywords":["amazon","aws","cloudwatch","synthetics","runtime","playwright"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"@aws/synthetics-playwright@5.1.0","maintainers":[{"name":"nosovsky","email":"nosovsky@amazon.com"},{"name":"aws-sdk-team","email":"aws-sdk-js@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js-automation@amazon.com"},{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},{"name":"aws-iot-sdk","email":"aws-sdk-common-runtime@amazon.com"},{"name":"aws-amplify-ops","email":"aws-amplify@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"},{"name":"mohit0193","email":"mohit.ag0193@gmail.com"},{"name":"rishabh6788","email":"rishabhksingh@gmail.com"},{"name":"weicongs","email":"weicongs@amazon.com"},{"name":"sayaligaikawad","email":"gaiksaya@amazon.com"},{"name":"peterzhuamazon","email":"zhujiaxi@amazon.com"},{"name":"forrest-not-gump","email":"colyerf@amazon.com"},{"name":"cayblood","email":"carl@youngbloods.org"},{"name":"evertonfraga","email":"effraga@amazon.com"},{"name":"osa-publish","email":"osa-3p+npm@amazon.com"},{"name":"amazon-q-cli-bot","email":"amazon-q-developer-cli@amazon.com"},{"name":"aws-apm-synthetics-npm","email":"aws-apm-synthetics-npm@amazon.com"}],"homepage":"https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright#readme","bugs":{"url":"https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright/issues"},"dist":{"shasum":"d55e5a26a397317f04ee9c2704951cc4998554c1","tarball":"https://registry.npmjs.org/@aws/synthetics-playwright/-/synthetics-playwright-5.1.0.tgz","fileCount":4,"integrity":"sha512-XPEwiKOoYwJoouqcBGeK1aEaBwDYFux0xBg2O/2/9Nqry9jaUxxzomIVx2pYou0SJORk5sJIKhwZLknD0arA4g==","signatures":[{"sig":"MEUCIQDGIktU7bStqOG+5TcJ7/COf1xPWnqT8LqZCfxnlZvV9wIgc4nCFq5EBD+aldcDx310bVKAPnjuQrjhoERE3NIGUSw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17575},"main":"lib/index.d.ts","types":"lib/index.d.ts","engines":{"node":">= 18.x"},"gitHead":"d64bc22f197315672294d1587c0fc0bcb74309fa","scripts":{"clean":"rm -rf dist && rm -rf node_modules","test-d":"tsd","compile":"tsc && npm run test-d","prepare":"npm run compile"},"_npmUser":{"name":"aws-apm-synthetics-npm","email":"aws-apm-synthetics-npm@amazon.com"},"repository":{"url":"git+https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright.git","type":"git"},"_npmVersion":"10.8.2","description":"Amazon CloudWatch Synthetics Type Support for syn-nodejs-playwright-* runtime","directories":{},"_nodeVersion":"20.19.6","dependencies":{"playwright":"1.57.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/synthetics-playwright_5.1.0_1768596531186_0.2545222773165774","host":"s3://npm-registry-packages-npm-production"}},"6.0.0":{"name":"@aws/synthetics-playwright","version":"6.0.0","keywords":["amazon","aws","cloudwatch","synthetics","runtime","playwright"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"@aws/synthetics-playwright@6.0.0","maintainers":[{"name":"nosovsky","email":"nosovsky@amazon.com"},{"name":"aws-sdk-team","email":"aws-sdk-js@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js-automation@amazon.com"},{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},{"name":"aws-iot-sdk","email":"aws-sdk-common-runtime@amazon.com"},{"name":"aws-amplify-ops","email":"aws-amplify@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"},{"name":"mohit0193","email":"mohit.ag0193@gmail.com"},{"name":"rishabh6788","email":"rishabhksingh@gmail.com"},{"name":"weicongs","email":"weicongs@amazon.com"},{"name":"sayaligaikawad","email":"gaiksaya@amazon.com"},{"name":"peterzhuamazon","email":"zhujiaxi@amazon.com"},{"name":"forrest-not-gump","email":"colyerf@amazon.com"},{"name":"cayblood","email":"carl@youngbloods.org"},{"name":"evertonfraga","email":"effraga@amazon.com"},{"name":"osa-publish","email":"osa-3p+npm@amazon.com"},{"name":"bedrock-agentcore-npm","email":"bedrock-agentcore-npm@amazon.com"},{"name":"amazon-q-cli-bot","email":"amazon-q-developer-cli@amazon.com"},{"name":"aws-apm-synthetics-npm","email":"aws-apm-synthetics-npm@amazon.com"}],"homepage":"https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright#readme","bugs":{"url":"https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright/issues"},"dist":{"shasum":"585a4223419e3f77aeb7d0afc756e8967871eec9","tarball":"https://registry.npmjs.org/@aws/synthetics-playwright/-/synthetics-playwright-6.0.0.tgz","fileCount":4,"integrity":"sha512-GI8Inx20WrlPk/NxsaAR9JvqvgYqi7zi+PVnJfoAFoaHE8aHi2/vWK+7oQ7sBIKo8qhxgptHLRuc9OINmbjVcw==","signatures":[{"sig":"MEQCIGv8bxVowMg4kBzQzAheAqYwNHrFJLT+9mPx7GMh1La2AiAnmkmK2HSC6MoUFCtMq3UQGwnJa13Blva4cqXV1rRkXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17575},"main":"lib/index.d.ts","types":"lib/index.d.ts","engines":{"node":">= 18.x"},"gitHead":"db3ea982a6e95de8da25c61a9094227e19fb483e","scripts":{"clean":"rm -rf dist && rm -rf node_modules","test-d":"tsd","compile":"tsc && npm run test-d","prepare":"npm run compile"},"_npmUser":{"name":"aws-apm-synthetics-npm","email":"aws-apm-synthetics-npm@amazon.com"},"repository":{"url":"git+https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright.git","type":"git"},"_npmVersion":"10.8.2","description":"Amazon CloudWatch Synthetics Type Support for syn-nodejs-playwright-* runtime","directories":{},"_nodeVersion":"20.20.2","dependencies":{"playwright":"1.58.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/synthetics-playwright_6.0.0_1781286725457_0.37194013913680135","host":"s3://npm-registry-packages-npm-production"}},"6.1.0":{"name":"@aws/synthetics-playwright","version":"6.1.0","keywords":["amazon","aws","cloudwatch","synthetics","runtime","playwright"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"@aws/synthetics-playwright@6.1.0","maintainers":[{"name":"nosovsky","email":"nosovsky@amazon.com"},{"name":"aws-sdk-team","email":"aws-sdk-js@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js-automation@amazon.com"},{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},{"name":"aws-iot-sdk","email":"aws-sdk-common-runtime@amazon.com"},{"name":"aws-amplify-ops","email":"aws-amplify@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"},{"name":"mohit0193","email":"mohit.ag0193@gmail.com"},{"name":"rishabh6788","email":"rishabhksingh@gmail.com"},{"name":"weicongs","email":"weicongs@amazon.com"},{"name":"sayaligaikawad","email":"gaiksaya@amazon.com"},{"name":"peterzhuamazon","email":"zhujiaxi@amazon.com"},{"name":"forrest-not-gump","email":"colyerf@amazon.com"},{"name":"cayblood","email":"carl@youngbloods.org"},{"name":"evertonfraga","email":"effraga@amazon.com"},{"name":"osa-publish","email":"osa-3p+npm@amazon.com"},{"name":"bedrock-agentcore-npm","email":"bedrock-agentcore-npm@amazon.com"},{"name":"amazon-q-cli-bot","email":"amazon-q-developer-cli@amazon.com"},{"name":"aws-apm-synthetics-npm","email":"aws-apm-synthetics-npm@amazon.com"}],"homepage":"https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright#readme","bugs":{"url":"https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright/issues"},"dist":{"shasum":"f387619e9ab0e9c71e8f8d350397491fe6dd1b07","tarball":"https://registry.npmjs.org/@aws/synthetics-playwright/-/synthetics-playwright-6.1.0.tgz","fileCount":4,"integrity":"sha512-cAGqIbNg8/Xhtn82hS6pZ03O/xqw7oOvUSBTxA3fSw/3hge597C5guSxovVBoBjd13VMEcZVvZfZycQjadEneg==","signatures":[{"sig":"MEQCIGziXkyEH0xuIToJZe+2UvIOzGaFp45yS1U4VGStGK+KAiAp2DYZEO1vS29TvAor8jKukg2wq7BibNUoNffJiwmgvw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17575},"main":"lib/index.d.ts","types":"lib/index.d.ts","engines":{"node":">= 18.x"},"gitHead":"cb3c21f334bf319881c54835082cec1d49103389","scripts":{"clean":"rm -rf dist && rm -rf node_modules","test-d":"tsd","compile":"tsc && npm run test-d","prepare":"npm run compile"},"_npmUser":{"name":"aws-apm-synthetics-npm","email":"aws-apm-synthetics-npm@amazon.com"},"repository":{"url":"git+https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright.git","type":"git"},"_npmVersion":"10.8.2","description":"Amazon CloudWatch Synthetics Type Support for syn-nodejs-playwright-* runtime","directories":{},"_nodeVersion":"20.20.2","dependencies":{"playwright":"1.59.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/synthetics-playwright_6.1.0_1781544267301_0.7097082743893164","host":"s3://npm-registry-packages-npm-production"}},"7.0.0":{"name":"@aws/synthetics-playwright","version":"7.0.0","keywords":["amazon","aws","cloudwatch","synthetics","runtime","playwright"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"@aws/synthetics-playwright@7.0.0","maintainers":[{"name":"nosovsky","email":"nosovsky@amazon.com"},{"name":"aws-sdk-team","email":"aws-sdk-js@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js-automation@amazon.com"},{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},{"name":"aws-iot-sdk","email":"aws-sdk-common-runtime@amazon.com"},{"name":"aws-amplify-ops","email":"aws-amplify@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"},{"name":"mohit0193","email":"mohit.ag0193@gmail.com"},{"name":"rishabh6788","email":"rishabhksingh@gmail.com"},{"name":"weicongs","email":"weicongs@amazon.com"},{"name":"sayaligaikawad","email":"gaiksaya@amazon.com"},{"name":"peterzhuamazon","email":"zhujiaxi@amazon.com"},{"name":"forrest-not-gump","email":"colyerf@amazon.com"},{"name":"cayblood","email":"carl@youngbloods.org"},{"name":"evertonfraga","email":"effraga@amazon.com"},{"name":"osa-publish","email":"osa-3p+npm@amazon.com"},{"name":"bedrock-agentcore-npm","email":"bedrock-agentcore-npm@amazon.com"},{"name":"amazon-q-cli-bot","email":"amazon-q-developer-cli@amazon.com"},{"name":"aws-apm-synthetics-npm","email":"aws-apm-synthetics-npm@amazon.com"}],"homepage":"https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright#readme","bugs":{"url":"https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright/issues"},"dist":{"shasum":"345ce0ed16f528490b527696206783cfef66b263","tarball":"https://registry.npmjs.org/@aws/synthetics-playwright/-/synthetics-playwright-7.0.0.tgz","fileCount":4,"integrity":"sha512-1mH0hBeGpoknxRpeMHhJCkYdU0mnZsVfpz3CG8J2ocRI9td91nd/YnxO51TRBaS1iqAlnF+vSeO4v44uJ2PZwA==","signatures":[{"sig":"MEYCIQCBe1NXzdhXkRDStx5jH2cacErduHsJvBKneuHek8bXBwIhAM2M8w042oANOdN7jEVZBnuBHB2i1opzdgPFd2EXcevX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17575},"main":"lib/index.d.ts","types":"lib/index.d.ts","engines":{"node":">= 18.x"},"gitHead":"1da698831f9d0802651280de2ae9b72c68863777","scripts":{"clean":"rm -rf dist && rm -rf node_modules","test-d":"tsd","compile":"tsc && npm run test-d","prepare":"npm run compile"},"_npmUser":{"name":"aws-apm-synthetics-npm","email":"aws-apm-synthetics-npm@amazon.com"},"repository":{"url":"git+https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright.git","type":"git"},"_npmVersion":"10.8.2","description":"Amazon CloudWatch Synthetics Type Support for syn-nodejs-playwright-* runtime","directories":{},"_nodeVersion":"20.20.2","dependencies":{"playwright":"1.59.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/synthetics-playwright_7.0.0_1781639440681_0.42912479136826875","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-01-16T20:48:51.104Z","modified":"2026-06-22T20:42:50.773Z","5.1.0":"2026-01-16T20:48:51.329Z","6.0.0":"2026-06-12T17:52:05.597Z","6.1.0":"2026-06-15T17:24:27.421Z","7.0.0":"2026-06-16T19:50:40.876Z"},"bugs":{"url":"https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright/issues"},"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","homepage":"https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright#readme","keywords":["amazon","aws","cloudwatch","synthetics","runtime","playwright"],"repository":{"url":"git+https://github.com/aws/cloudwatch-synthetics-sdk-nodejs-playwright.git","type":"git"},"description":"Amazon CloudWatch Synthetics Type Support for syn-nodejs-playwright-* runtime","maintainers":[{"email":"aws-sdk-js@amazon.com","name":"aws-sdk-team"},{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"},{"email":"aws-xray-sdk-node@amazon.com","name":"awsxray"},{"email":"aws-sdk-common-runtime@amazon.com","name":"aws-iot-sdk"},{"email":"aws-amplify@amazon.com","name":"aws-amplify-ops"},{"email":"bedrock-agentcore-npm@amazon.com","name":"bedrock-agentcore-npm"},{"email":"amazon-q-developer-cli@amazon.com","name":"amazon-q-cli-bot"},{"email":"aws-apm-synthetics-npm@amazon.com","name":"aws-apm-synthetics-npm"}],"readme":"# Type Support for Amazon CloudWatch Synthetics Node.js Playwright Runtime\n\nTypeScript type definitions for Amazon CloudWatch Synthetics `syn-nodejs-playwright-*` runtime.\n\n## Installation\n\nPlease ensure the type definition package version matches your canary's runtime version.\n\n```bash\nnpm install @aws/synthetics-playwright\n```\n\n## Usage\n\n```typescript\nimport { synthetics } from '@aws/synthetics-playwright';\nimport { Browser, Page } from 'playwright';\n\nconst runCanary = async () => {\n    // Launch browser with default Synthetics options\n    const browser: Browser = await synthetics.launch();\n    \n    // Create a new page with HAR recording\n    const page: Page = await synthetics.newPage(browser);\n    \n    // Execute monitored steps\n    await synthetics.executeStep('navigate', async () => {\n        await page.goto('https://example.com');\n    });\n    \n    await synthetics.executeStep('verify-content', async () => {\n        await page.waitForSelector('h1');\n    }, {\n        screenshotOnStepFailure: true,\n        continueOnStepFailure: false\n    }, page);\n    \n    // Clean up\n    await synthetics.close();\n};\n```\n\n## TypeScript Support\n\nThis package provides complete TypeScript type definitions for the Amazon CloudWatch Synthetics Node.js Playwright runtime, enabling full IntelliSense support and type checking in your canary scripts.\n\n## Security\n\nSee [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.\n\n## License\n\nThis project is licensed under the Apache-2.0 License.","readmeFilename":"README.md"}