Synpress is an E2E (End-to-End) testing library for Web3 dapps. It can be used with
both: Playwright and Cypress.
Synpress is built with developer experience, stability, and performance in mind:
Developer Experience: Type safety, simple API, comprehensive documentation, support for both Playwright and
Cypress and all of their features.
Stability: Complete test coverage, bullet-proof wallet integration API.
Performance: Optimized for speed, parallelization, and fast feedback loops.
Check out the Why Synpress section to learn more about the project’s rationale.
Installation
pnpm
npm
yarn
pnpm add @synthetixio/synpress
npm i @synthetixio/synpress
yarn add @synthetixio/synpress
Synpress is now an ESM-only package. Don’t use require() to import it, and make sure your nearest package.json
contains "type": "module".
Next Steps
For more information on what to do next, check out the following topics:
TypeScript - Learn how to set up TypeScript with Synpress.
Playwright - Learn how to set up Playwright with Synpress.
Cypress - Learn how to set up Cypress with Synpress.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Synpress Docs","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"favicon":"/favicon.svg","logo":{"light":"https://mintcdn.com/synpress/VglWDtV4jAM-zP71/logo/s-logo-3.png?fit=max\u0026auto=format\u0026n=VglWDtV4jAM-zP71\u0026q=85\u0026s=6f3efdd579d89ff2b1f9ab81f3ae5c7f","dark":"https://mintcdn.com/synpress/VglWDtV4jAM-zP71/logo/synpress-logo.png?fit=max\u0026auto=format\u0026n=VglWDtV4jAM-zP71\u0026q=85\u0026s=2fbaeafb4b9d7519248b55ac68437e10"},"navbar":{"links":[{"label":"Github","href":"https://github.com/Synthetixio/synpress/tree/dev"},{"label":"Discord","href":"https://discord.gg/XhZKSRGtWc"},{"label":"X","href":"https://twitter.com/Synpress_"}],"primary":null},"footer":{"socials":{"github":"https://github.com/Synthetixio/synpress/tree/dev","discord":"https://discord.gg/XhZKSRGtWc","x":"https://twitter.com/Synpress_"}},"navigation":{"global":{"anchors":[{"anchor":"GitHub","href":"https://github.com/Synthetixio/synpress/tree/dev","icon":"github"},{"anchor":"Discord","href":"https://discord.gg/XhZKSRGtWc","icon":"discord"},{"anchor":"X","href":"https://twitter.com/Synpress_","icon":"x-twitter"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"synpress","hasAudioNarration":false,"actualSubdomain":"synpress","customDomains":["docs.synpress.io"],"gitSource":{"type":"github","owner":"synpress","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae920ad804c2f07efa96135:success","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API","count":28},{"language":"default","tag":"Functions","count":17},{"language":"default","tag":"Playwright","count":14},{"language":"default","tag":"Docs","count":14},{"language":"default","tag":"Cypress","count":11},{"language":"default","tag":"Introduction","count":8},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Classes","count":5},{"language":"default","tag":"Support","count":4},{"language":"default","tag":"Variables","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"docs/getting-started","slug":"/docs/getting-started","pageMetadata":{"title":"Getting Started","description":null,"href":"/docs/getting-started"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tab,Tabs,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Synpress is an E2E (End-to-End) testing library for Web3 dapps. It can be used with\nboth: `,_jsx(_components.a,{href:`https://playwright.dev/`,children:`Playwright`}),` and `,_jsx(_components.a,{href:`https://www.cypress.io/`,children:`Cypress`}),`.\nSynpress is built with developer experience, stability, and performance in mind:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Developer Experience`}),`: Type safety, simple API, comprehensive documentation, support for both Playwright and\nCypress and all of their features.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Stability`}),`: Complete test coverage, bullet-proof wallet integration API.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Performance`}),`: Optimized for speed, parallelization, and fast feedback loops.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Check out the `,_jsx(_components.a,{href:`/docs/introduction`,children:`Why Synpress`}),` section to learn more about the project’s rationale.`]}),`\n`,_jsx(Heading,{level:`2`,id:`installation`,children:`Installation`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`pnpm`,id:`pnpm`,children:_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`pnpm add @synthetixio/synpress`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Tab,{title:`npm`,id:`npm`,children:_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`npm i @synthetixio/synpress`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Tab,{title:`yarn`,id:`yarn`,children:_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`yarn add @synthetixio/synpress`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Synpress is now an ESM-only package. Don’t use `,_jsx(_components.code,{children:`require()`}),` to import it, and make sure your nearest `,_jsx(_components.code,{children:`package.json`}),`\ncontains `,_jsx(_components.code,{children:`\"type\": \"module\"`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next Steps`}),`\n`,_jsx(_components.p,{children:`For more information on what to do next, check out the following topics:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/docs/typescript`,children:_jsx(_components.strong,{children:`TypeScript`})}),` - Learn how to set up TypeScript with Synpress.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/docs/setup-playwright`,children:_jsx(_components.strong,{children:`Playwright`})}),` - Learn how to set up Playwright with Synpress.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/docs/setup-cypress`,children:_jsx(_components.strong,{children:`Cypress`})}),` - Learn how to set up Cypress with Synpress.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Getting Started","description":null,"href":"/docs/getting-started"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Installation","slug":"installation","depth":2,"children":[]},{"title":"Next Steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"synpress","siteName":"Synpress Docs","title":"Getting Started - Synpress Docs","navMaps":{"firstHrefInVersion":{"4.0.5":{"href":"/docs/getting-started","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T02:44:27.021Z","originalFileLocation":"docs/getting-started.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Synpress Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/synpress/h2PxrDeH4_6NOYx_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/synpress/h2PxrDeH4_6NOYx_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/synpress/h2PxrDeH4_6NOYx_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/synpress/h2PxrDeH4_6NOYx_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/synpress/h2PxrDeH4_6NOYx_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/synpress/h2PxrDeH4_6NOYx_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/synpress/h2PxrDeH4_6NOYx_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/synpress/h2PxrDeH4_6NOYx_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/synpress/h2PxrDeH4_6NOYx_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Getting Started - Synpress Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Synpress Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.synpress.io/docs/getting-started\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://synpress.mintlify.site/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Getting+Started\u0026amp;theme=a66bd53072c66af83a77807f\u0026amp;signature=59a9c226a795108c9b2a4d209a02305b70b841aaf60ddd942dc1001b8935120b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Getting Started - Synpress Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://synpress.mintlify.site/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Getting+Started\u0026amp;theme=a66bd53072c66af83a77807f\u0026amp;signature=59a9c226a795108c9b2a4d209a02305b70b841aaf60ddd942dc1001b8935120b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/synpress/h2PxrDeH4_6NOYx_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Synpress Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.synpress.io/docs/getting-started\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/getting-started.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.synpress.io/#organization\",\"name\":\"Synpress Docs\",\"url\":\"https://docs.synpress.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/synpress/VglWDtV4jAM-zP71/logo/s-logo-3.png?fit=max\u0026auto=format\u0026n=VglWDtV4jAM-zP71\u0026q=85\u0026s=6f3efdd579d89ff2b1f9ab81f3ae5c7f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.synpress.io#website\",\"name\":\"Synpress Docs\",\"url\":\"https://docs.synpress.io\",\"publisher\":{\"@id\":\"https://docs.synpress.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.synpress.io/docs/getting-started#webpage\",\"url\":\"https://docs.synpress.io/docs/getting-started\",\"name\":\"Getting Started\",\"dateModified\":\"2026-01-07T02:44:27.021Z\",\"isPartOf\":{\"@id\":\"https://docs.synpress.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.synpress.io/docs/getting-started#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.synpress.io/docs/getting-started#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Introduction\",\"item\":\"https://docs.synpress.io/docs/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started\",\"item\":\"https://docs.synpress.io/docs/getting-started\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.synpress.io/docs/getting-started#article\",\"headline\":\"Getting Started\",\"name\":\"Getting Started\",\"url\":\"https://docs.synpress.io/docs/getting-started\",\"mainEntityOfPage\":{\"@id\":\"https://docs.synpress.io/docs/getting-started#webpage\"},\"dateModified\":\"2026-01-07T02:44:27.021Z\",\"publisher\":{\"@id\":\"https://docs.synpress.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.synpress.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Synpress Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Synpress Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/getting-started.md","siteName":"Synpress Docs","nav":{"global":{"anchors":[{"anchor":"GitHub","href":"https://github.com/Synthetixio/synpress/tree/dev","icon":"github"},{"anchor":"Discord","href":"https://discord.gg/XhZKSRGtWc","icon":"discord"},{"anchor":"X","href":"https://twitter.com/Synpress_","icon":"x-twitter"}]},"versions":[{"version":"4.0.5","tabs":[{"tab":"Docs","groups":[{"group":"Introduction","pages":[{"title":"Why Synpress","description":null,"href":"/docs/introduction"},{"group":"Getting Started","pages":[{"title":"Getting Started","href":"/docs/getting-started"},{"title":"Setup with Playwright","description":null,"href":"/docs/setup-playwright"},{"title":"Setup with Cypress","href":"/docs/setup-cypress"}]},{"title":"Migration Guide - v3 to v4","href":"/docs/migration-guide"},{"title":"TypeScript Support","href":"/docs/typescript"},{"title":"Platform Compatibility","href":"/docs/platform-compatibility"},{"title":"Known Issues","href":"/docs/known-issues"}]},{"group":"Guides","pages":[{"title":"Wallet Cache","href":"/docs/guides/wallet-cache"},{"title":"Debugging Wallet Setups","href":"/docs/guides/wallet-setup-debug"},{"title":"CLI","href":"/docs/guides/cli"},{"title":"Playwright","href":"/docs/guides/playwright"},{"title":"Built-in Fixtures","href":"/docs/guides/fixtures"},{"title":"CI","href":"/docs/guides/ci"}]}]},{"tab":"API","pages":[{"title":"API","href":"/api-reference/functions"}]},{"tab":"Examples","href":"https://github.com/Synthetixio/synpress/tree/dev/examples"}]}]},"basePath":"","title":"Getting Started - Synpress Docs","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":[],"chunks":[]}