[{"data":1,"prerenderedAt":40},["ShallowReactive",2],{"blog-article-/blog/playwright-local-dev-server":3,"blog-surround-/blog/playwright-local-dev-server":31},{"id":4,"title":5,"body":6,"canonical":13,"date":14,"description":15,"extension":16,"featured":17,"image":18,"meta":19,"navigation":21,"ogImage":13,"path":22,"provider":23,"published":17,"seo":24,"stem":25,"tags":26,"url":29,"__hash__":30},"blog/blog/playwright-local-dev-server.md","Setup a local dev server for your Playwright tests",{"type":7,"value":8,"toc":9},"minimark",[],{"title":10,"searchDepth":11,"depth":11,"links":12},"",2,[],null,"2023-03-07","Playwright comes with a webserver option in the config file which gives you the ability to launch a local dev server before running your tests. This is ideal for when writing your tests during development and when you don't have a staging or production url to test against.","md",false,"v1630862642/debbie.codes/featured-posts/local-dev-server_z2dylp",{"platform":20},"Dev.to",true,"/blog/playwright-local-dev-server","cloudinary",{"title":5,"description":15},"blog/playwright-local-dev-server",[27,28],"playwright","testing","https://dev.to/playwright/setup-a-local-dev-server-for-your-playwright-tests-33m9","RnuS_Ez7T6PKTL963ciSDex5OIqYV6kP1-AeyHMiToE",[32,36],{"title":33,"path":34,"stem":35,"children":-1},"A better global setup in Playwright reusing login with project dependencies","/blog/playwright-global-setup","blog/playwright-global-setup",{"title":37,"path":38,"stem":39,"children":-1},"Testing Menus on Desktop and Mobile","/blog/testing-menus-desktop-mobile","blog/testing-menus-desktop-mobile",1790839747205]