{"id":4820,"date":"2025-05-22T17:43:10","date_gmt":"2025-05-22T12:13:10","guid":{"rendered":"https:\/\/www.testleaf.com\/blog\/?post_type=web-story&#038;p=4820"},"modified":"2025-05-22T17:43:11","modified_gmt":"2025-05-22T12:13:11","slug":"7-cool-things-playwright-can-do-that-selenium-cant","status":"publish","type":"web-story","link":"https:\/\/www.testleaf.com\/blog\/web-stories\/7-cool-things-playwright-can-do-that-selenium-cant\/","title":{"rendered":"7 Cool Things Playwright Can Do That Selenium Can\u2019t"},"content":{"rendered":"<p><html amp=\"\" lang=\"en\"><head><meta charSet=\"utf-8\"\/><meta name=\"viewport\" content=\"width=device-width,minimum-scale=1,initial-scale=1\"\/><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0.js\"><\/script><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0\/amp-story-1.0.js\" custom-element=\"amp-story\"><\/script><link href=\"https:\/\/fonts.googleapis.com\/css2?display=swap&amp;family=Roboto%3Awght%40400%3B700\" rel=\"stylesheet\"\/><link href=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant.png\" rel=\"preload\" as=\"image\"\/>\n<style amp-boilerplate=\"\">body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}<\/style>\n<p><noscript><\/p>\n<style amp-boilerplate=\"\">body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}<\/style>\n<p><\/noscript><\/p>\n<style amp-custom=\"\">\n              h1, h2, h3 { font-weight: normal; }<\/p>\n<p>              amp-story-page {\n                background-color: #131516;\n              }<\/p>\n<p>              amp-story-grid-layer {\n                overflow: visible;\n              }<\/p>\n<p>              @media (max-aspect-ratio: 9 \/ 16)  {\n                @media (min-aspect-ratio: 320 \/ 678) {\n                  amp-story-grid-layer.grid-layer {\n                    margin-top: calc((100% \/ 0.5625 - 100% \/ 0.6666666666666666) \/ 2);\n                  }\n                }\n              }<\/p>\n<p>              @media not all and (min-resolution:.001dpcm) {\n                @media {\n                  p.text-wrapper > span {\n                    font-size: calc(100% - 0.5px);\n                  }\n                }\n              }<\/p>\n<p>              .page-fullbleed-area,\n              .page-background-overlay-area {\n                position: absolute;\n                overflow: hidden;\n                width: 100%;\n                left: 0;\n                height: calc(1.1851851851851851 * 100%);\n                top: calc((1 - 1.1851851851851851) * 100% \/ 2);\n              }<\/p>\n<p>              .element-overlay-area {\n                position: absolute;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n              }<\/p>\n<p>              .page-safe-area {\n                overflow: visible;\n                position: absolute;\n                top: 0;\n                bottom: 0;\n                left: 0;\n                right: 0;\n                width: 100%;\n                height: calc(0.84375 * 100%);\n                margin: auto 0;\n              }<\/p>\n<p>              .mask {\n                position: absolute;\n                overflow: hidden;\n              }<\/p>\n<p>              .fill {\n                position: absolute;\n                top: 0;\n                left: 0;\n                right: 0;\n                bottom: 0;\n                margin: 0;\n              }<\/p>\n<p>              @media (prefers-reduced-motion: no-preference) {\n                .animation-wrapper {\n                  opacity: var(--initial-opacity);\n                  transform: var(--initial-transform);\n                }\n              }<\/p>\n<p>              amp-story-grid-layer.align-bottom {\n                align-content: end;\n                padding: 0;\n                \/*\n                  AMP CTA Layer will exactly occupy 74px regardless of any device.\n                  To space out captions 74px from the BOTTOM (AMP CTA Layer),\n                  74px from the TOP should also be spaced out and thus: 2 * 74px\n                  will be the desired max-height.\n                *\/\n                max-height: calc(100vh - (2 * 74px));\n              }<\/p>\n<p>              .captions-area {\n                padding: 0 32px 0;\n              }<\/p>\n<p>              amp-story-captions {\n                margin-bottom: 16px;\n                text-align: center;\n              }<\/p>\n<p>              amp-story-audio-sticker {\n                height: 100%;\n              }<\/p>\n<p>              .audio-sticker {\n                font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\n              }\n              <\/style>\n<p><meta name=\"web-stories-replace-head-start\"\/><title>7 Cool Things Playwright Can Do That Selenium Can\u2019t<\/title><link rel=\"canonical\" href=\"https:\/\/www.testleaf.com\/blog\/?post_type=web-story&amp;p=4820\"\/><meta name=\"web-stories-replace-head-end\"\/><\/head><body><amp-story standalone=\"\" publisher=\"Testleaf\" publisher-logo-src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2022\/05\/favicon.png\" title=\"7 Cool Things Playwright Can Do That Selenium Can\u2019t\" poster-portrait-src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/cropped-7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant.png\"><amp-story-page id=\"e0c18194-5cab-441f-a6a0-b6bc3c9bdc7c\" auto-advance-after=\"7s\"><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#d1c2b7\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-f43f1808-cef3-4f3f-9ef4-509f99ed24cd\">\n<div style=\"position:absolute;width:100%;height:100%;left:0%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant.png\" alt=\"7 Cool Things Playwright Can Do That Selenium Can\u2019t\" srcSet=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant.png 720w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-576x1024.png 576w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-169x300.png 169w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-150x267.png 150w\" sizes=\"(min-width: 1024px) 45vh, 100vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\"><\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2022\/05\/favicon-300x300.png\"><a href=\"https:\/\/www.testleaf.com\/blog\/playwright-vs-selenium-which-to-choose-in-2025\/?utm_source=web-stories&amp;utm_medium=blog&amp;utm_campaign=organic_SEO\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"cc8c100a-2748-41af-a51d-a1fe2547d2f1\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-617539f0-e262-4fc2-a526-92f4881f9739 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-12656cf9-7d7e-42e8-ac7b-524551aa2e12\",\"keyframes\":[{\"offset\":0,\"transform\":\"translate3d(0, -465.05516%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.29,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.45,\"transform\":\"translate3d(0, -130.773510992%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.61,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.71,\"transform\":\"translate3d(0, -44.459273296%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.8,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.85,\"transform\":\"translate3d(0, -16.695480244000002%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.92,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.96,\"transform\":\"translate3d(0, -7.254860496%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":1,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"}],\"delay\":0,\"duration\":600,\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#226c8b\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-617539f0-e262-4fc2-a526-92f4881f9739\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-412070ed-5141-4cf2-8df1-986eda16b2a8\">\n<div style=\"position:absolute;width:100%;height:100%;left:0%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1.png\" alt=\"7 Cool Things Playwright Can Do That Selenium Can\u2019t (1)\" srcSet=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1.png 720w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-576x1024.png 576w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-169x300.png 169w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-150x267.png 150w\" sizes=\"(min-width: 1024px) 45vh, 100vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:8.73786%;top:68.12298%;width:82.28155%;height:21.19741%;opacity:1\">\n<div id=\"anim-12656cf9-7d7e-42e8-ac7b-524551aa2e12\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0, -465.05516%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5899705014749262% 0.5899705014749262% 0.5899705014749262% 0.5899705014749262% \/ 1.5267175572519083% 1.5267175572519083% 1.5267175572519083% 1.5267175572519083%\" id=\"el-17611a87-b59f-4f52-b447-82c29319491a\">\n<h3 class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09126106194690245% 0;font-family:&quot;Roboto&quot;,&quot;Helvetica Neue&quot;,&quot;Helvetica&quot;,sans-serif;font-size:0.355987em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">Playwright<\/span> can automate Chromium, Firefox, and WebKit out of the box\u2014<span style=\"font-weight: 700\">no need to download or manage browser drivers<\/span>, unlike Selenium.<\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"3fc07366-52d1-4f67-9a80-2756db29bc8e\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-2aaf15d6-8bf9-4eda-a9a2-e184c6727530 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-5289bd19-5577-4862-b640-34fd36861922\",\"keyframes\":[{\"offset\":0,\"transform\":\"translate3d(0, -480.32231%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.29,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.45,\"transform\":\"translate3d(0, -135.066633572%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.61,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.71,\"transform\":\"translate3d(0, -45.918812836%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.8,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.85,\"transform\":\"translate3d(0, -17.243570929%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.92,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.96,\"transform\":\"translate3d(0, -7.493028036%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":1,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"}],\"delay\":0,\"duration\":600,\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#9c9f9e\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-2aaf15d6-8bf9-4eda-a9a2-e184c6727530\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-f90a5147-7440-4bf3-88a6-66dfdc3486d3\">\n<div style=\"position:absolute;width:100%;height:100%;left:0%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2.png\" alt=\"7 Cool Things Playwright Can Do That Selenium Can\u2019t (2)\" srcSet=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2.png 720w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-576x1024.png 576w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-169x300.png 169w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-150x267.png 150w\" sizes=\"(min-width: 1024px) 45vh, 100vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:8.98058%;top:71.35922%;width:82.28155%;height:21.19741%;opacity:1\">\n<div id=\"anim-5289bd19-5577-4862-b640-34fd36861922\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0, -480.32231%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5899705014749262% 0.5899705014749262% 0.5899705014749262% 0.5899705014749262% \/ 1.5267175572519083% 1.5267175572519083% 1.5267175572519083% 1.5267175572519083%\" id=\"el-37e57c0a-43d6-48e6-a397-b7433070f71a\">\n<h3 class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09126106194690245% 0;font-family:&quot;Roboto&quot;,&quot;Helvetica Neue&quot;,&quot;Helvetica&quot;,sans-serif;font-size:0.355987em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span>Playwright <span style=\"font-weight: 700\">automatically waits for elements to be ready<\/span> before performing actions\u2014making scripts <span style=\"font-weight: 700\">more stable and less flaky<\/span> than Selenium ones.<\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"662b5303-9ad7-48ff-b08e-f0b810908b99\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8bf826f3-5fe9-4db1-8a57-a753c02e599b [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-81a75582-5190-40dc-b548-e3efcdc7bd3e\",\"keyframes\":[{\"offset\":0,\"transform\":\"translate3d(0, -476.32475%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.29,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.45,\"transform\":\"translate3d(0, -133.9425197%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.61,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.71,\"transform\":\"translate3d(0, -45.5366461%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.8,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.85,\"transform\":\"translate3d(0, -17.100058525%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.92,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.96,\"transform\":\"translate3d(0, -7.4306661%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":1,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"}],\"delay\":0,\"duration\":600,\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#ccd0cf\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-8bf826f3-5fe9-4db1-8a57-a753c02e599b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-7d0fb10b-9f87-4d73-a6ee-08ec5661b28b\">\n<div style=\"position:absolute;width:100%;height:100%;left:0%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3.png\" alt=\"7 Cool Things Playwright Can Do That Selenium Can\u2019t (3)\" srcSet=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3.png 720w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-576x1024.png 576w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-169x300.png 169w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-150x267.png 150w\" sizes=\"(min-width: 1024px) 45vh, 100vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:8.25243%;top:69.90291%;width:83.73786%;height:21.0356%;opacity:1\">\n<div id=\"anim-81a75582-5190-40dc-b548-e3efcdc7bd3e\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0, -476.32475%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5797101449275363% 0.5797101449275363% 0.5797101449275363% 0.5797101449275363% \/ 1.5384615384615385% 1.5384615384615385% 1.5384615384615385% 1.5384615384615385%\" id=\"el-19a2d053-b354-4ba7-96cb-b6f34f2b76e7\">\n<h3 class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08967391304347805% 0;font-family:&quot;Roboto&quot;,&quot;Helvetica Neue&quot;,&quot;Helvetica&quot;,sans-serif;font-size:0.355987em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span>With Playwright, you can <span style=\"font-weight: 700\">intercept API calls, mock responses<\/span>, and test UI behavior under different network conditions\u2014<span style=\"font-weight: 700\">not natively possible in Selenium.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"98210a5e-9a13-4522-a759-972788afb9f7\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-404777b9-c5ea-41a7-9529-d040f132a327 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8341fc6c-df20-40dc-acf6-7d0abf51a54c\",\"keyframes\":[{\"offset\":0,\"transform\":\"translate3d(0, -484.78631%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.29,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.45,\"transform\":\"translate3d(0, -136.32191037200002%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.61,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.71,\"transform\":\"translate3d(0, -46.345571236000005%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.8,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.85,\"transform\":\"translate3d(0, -17.403828529000002%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.92,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.96,\"transform\":\"translate3d(0, -7.562666436%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":1,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"}],\"delay\":0,\"duration\":600,\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#c3ceda\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-404777b9-c5ea-41a7-9529-d040f132a327\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-f7203b2c-a935-4af9-8a2a-a4426e3fecbb\">\n<div style=\"position:absolute;width:100%;height:100%;left:0%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4.png\" alt=\"7 Cool Things Playwright Can Do That Selenium Can\u2019t (4)\" srcSet=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4.png 720w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-576x1024.png 576w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-169x300.png 169w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-150x267.png 150w\" sizes=\"(min-width: 1024px) 45vh, 100vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:10.43689%;top:71.68285%;width:79.61165%;height:21.0356%;opacity:1\">\n<div id=\"anim-8341fc6c-df20-40dc-acf6-7d0abf51a54c\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0, -484.78631%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6097560975609756% 0.6097560975609756% 0.6097560975609756% 0.6097560975609756% \/ 1.5384615384615385% 1.5384615384615385% 1.5384615384615385% 1.5384615384615385%\" id=\"el-2da58ef7-b112-49f0-b076-8dba46881afb\">\n<h3 class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.0943216463414632% 0;font-family:&quot;Roboto&quot;,&quot;Helvetica Neue&quot;,&quot;Helvetica&quot;,sans-serif;font-size:0.355987em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span>Playwright allows you to <span style=\"font-weight: 700\">create multiple browser contexts<\/span> in a single instance for <span style=\"font-weight: 700\">parallel and isolated test sessions<\/span>\u2014ideal for modern testing needs.<\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"8e5f0840-db42-475d-94b7-76f9dccb1586\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-bd8937a6-f438-4c7e-a2a3-da9cc1bfd1d7 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-b3a826dc-c352-4734-8d71-e01ab674b60b\",\"keyframes\":[{\"offset\":0,\"transform\":\"translate3d(0, -469.6353%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.29,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.45,\"transform\":\"translate3d(0, -132.06144636%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.61,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.71,\"transform\":\"translate3d(0, -44.89713468%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.8,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.85,\"transform\":\"translate3d(0, -16.85990727%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.92,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.96,\"transform\":\"translate3d(0, -7.326310679999999%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":1,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"}],\"delay\":0,\"duration\":600,\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#d3d0cc\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-bd8937a6-f438-4c7e-a2a3-da9cc1bfd1d7\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-b6b4c71f-207b-4403-adf2-2a76af28d0b2\">\n<div style=\"position:absolute;width:100%;height:100%;left:0%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5.png\" alt=\"7 Cool Things Playwright Can Do That Selenium Can\u2019t (5)\" srcSet=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5.png 720w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-576x1024.png 576w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-169x300.png 169w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-150x267.png 150w\" sizes=\"(min-width: 1024px) 45vh, 100vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:11.65049%;top:69.09385%;width:81.79612%;height:21.19741%;opacity:1\">\n<div id=\"anim-b3a826dc-c352-4734-8d71-e01ab674b60b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0, -469.6353%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5934718100890208% 0.5934718100890208% 0.5934718100890208% 0.5934718100890208% \/ 1.5267175572519083% 1.5267175572519083% 1.5267175572519083% 1.5267175572519083%\" id=\"el-f2be6807-82b8-4980-b56e-0dcc10fa7ae9\">\n<h3 class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09180267062314519% 0;font-family:&quot;Roboto&quot;,&quot;Helvetica Neue&quot;,&quot;Helvetica&quot;,sans-serif;font-size:0.355987em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span>Playwright handles <span style=\"font-weight: 700\">Single Page Applications (SPAs)<\/span> and <span style=\"font-weight: 700\">Shadow DOM<\/span> content more effectively with built-in APIs\u2014<span style=\"font-weight: 700\">giving more reliable test coverage.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"633b6234-7b57-46c7-94bc-f901e4763e10\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-6a4ad7e3-e20b-4c65-99f8-15a8a72d8135 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-2eb4870a-0780-4d9c-a4cb-e83d6caeb44e\",\"keyframes\":[{\"offset\":0,\"transform\":\"translate3d(0, -495.55553%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.29,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.45,\"transform\":\"translate3d(0, -139.350215036%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.61,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.71,\"transform\":\"translate3d(0, -47.375108668%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.8,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.85,\"transform\":\"translate3d(0, -17.790443527%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.92,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.96,\"transform\":\"translate3d(0, -7.730666267999999%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":1,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"}],\"delay\":0,\"duration\":600,\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#e82626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-6a4ad7e3-e20b-4c65-99f8-15a8a72d8135\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-f700c4e7-cc38-4e8c-8cf8-92b4d4eebdd1\">\n<div style=\"position:absolute;width:100%;height:100%;left:0%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6.png\" alt=\"7 Cool Things Playwright Can Do That Selenium Can\u2019t (6)\" srcSet=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6.png 720w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-576x1024.png 576w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-169x300.png 169w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-150x267.png 150w\" sizes=\"(min-width: 1024px) 45vh, 100vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:8.73786%;top:73.94822%;width:82.28155%;height:21.0356%;opacity:1\">\n<div id=\"anim-2eb4870a-0780-4d9c-a4cb-e83d6caeb44e\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0, -495.55553%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5899705014749262% 0.5899705014749262% 0.5899705014749262% 0.5899705014749262% \/ 1.5384615384615385% 1.5384615384615385% 1.5384615384615385% 1.5384615384615385%\" id=\"el-ded6b71a-fb4d-4e82-be35-49ab3069f67b\">\n<h3 class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09126106194690245% 0;font-family:&quot;Roboto&quot;,&quot;Helvetica Neue&quot;,&quot;Helvetica&quot;,sans-serif;font-size:0.355987em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span>It has <span style=\"font-weight: 700\">native support for capturing screenshots and videos<\/span> during test runs for better debugging and documentation\u2014<span style=\"font-weight: 700\">without extra plugins.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"123482f6-f72f-4723-bad8-6c1502f248a0\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-27fa5d05-ef4c-4c2d-973b-474c6d20cbf4 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-e44ec83f-8796-4ba2-8db4-2053ef2ca8dd\",\"keyframes\":[{\"offset\":0,\"transform\":\"translate3d(0, -409.63435%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.29,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.45,\"transform\":\"translate3d(0, -115.18917922%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.61,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.71,\"transform\":\"translate3d(0, -39.16104386%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.8,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.85,\"transform\":\"translate3d(0, -14.705873165%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":0.92,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"},{\"offset\":0.96,\"transform\":\"translate3d(0, -6.390295859999999%, 0)\",\"easing\":\"cubic-bezier(.5, 0, 1, 1)\"},{\"offset\":1,\"transform\":\"translate3d(0, 0%, 0)\",\"easing\":\"cubic-bezier(0, 0, .5, 1)\"}],\"delay\":0,\"duration\":600,\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#89a6d1\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-27fa5d05-ef4c-4c2d-973b-474c6d20cbf4\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-53d927c7-4b79-4564-880a-045855d830f8\">\n<div style=\"position:absolute;width:100%;height:100%;left:0%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7.png\" alt=\"7 Cool Things Playwright Can Do That Selenium Can\u2019t (7)\" srcSet=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7.png 720w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-576x1024.png 576w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-169x300.png 169w,https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-150x267.png 150w\" sizes=\"(min-width: 1024px) 45vh, 100vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:8.00971%;top:69.90291%;width:83.73786%;height:25.56634%;opacity:1\">\n<div id=\"anim-e44ec83f-8796-4ba2-8db4-2053ef2ca8dd\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0, -409.63435%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5797101449275363% 0.5797101449275363% 0.5797101449275363% 0.5797101449275363% \/ 1.2658227848101267% 1.2658227848101267% 1.2658227848101267% 1.2658227848101267%\" id=\"el-6c82e323-952d-4f12-8f2f-3261183d8716\">\n<h3 class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08967391304347805% 0;font-family:&quot;Roboto&quot;,&quot;Helvetica Neue&quot;,&quot;Helvetica&quot;,sans-serif;font-size:0.355987em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span>Playwright runs tests <span style=\"font-weight: 700\">headless by default<\/span>, supports <span style=\"font-weight: 700\">Windows, macOS, and Linux<\/span> natively, and integrates well with CI\/CD pipelines\u2014offering <span style=\"font-weight: 700\">better platform compatibility<\/span>.<\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><\/amp-story><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Discover 7 powerful features of Playwright that outshine Selenium, offering better browser automation, smarter testing, and enhanced performance for modern QA teams.<\/p>\n","protected":false},"author":1,"featured_media":4829,"template":"","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","web_stories_publisher_logo":161,"web_stories_poster":[],"web_stories_products":[],"footnotes":""},"web_story_category":[],"web_story_tag":[],"class_list":["post-4820","web-story","type-web-story","status-publish","has-post-thumbnail","hentry"],"aioseo_notices":[],"amp_enabled":false,"story_data":{"version":47,"pages":[{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":586,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"f43f1808-cef3-4f3f-9ef4-509f99ed24cd","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","width":720,"height":1280,"sizes":{"medium":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-169x300.png","width":169,"height":300,"filesize":19845,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-169x300.png"},"large":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-576x1024.png","width":576,"height":1024,"filesize":95656,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-576x1024.png"},"thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-150x150.png","width":150,"height":150,"filesize":12407,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-150x150.png"},"rpg_gallery_admin_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-150x150.png","width":150,"height":150,"filesize":12407,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-150x150.png"},"rpg_gallery_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-150x150.png","width":150,"height":150,"filesize":12407,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-150x150.png"},"web-stories-poster-portrait":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-640x853.png","width":640,"height":853,"filesize":100238,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-640x853.png"},"web-stories-publisher-logo":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-96x96.png","width":96,"height":96,"filesize":6997,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-96x96.png"},"web-stories-thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-150x267.png","width":150,"height":267,"filesize":16992,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-150x267.png"},"full":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant.png","width":720,"height":1280,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant.png"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#d1c2b7","blurHash":"UFRfwdrs^mW--XNYNF%3_4?IJ59sEJnSxbSJ","creationDate":"2025-05-22T12:04:01","src":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant.png","id":4828,"alt":"7 Cool Things Playwright Can Do That Selenium Can\u2019t","local":false,"provider":"local"}}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"e0c18194-5cab-441f-a6a0-b6bc3c9bdc7c","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"00493dd4-cd63-49a8-ad12-99b3bfb9313f"},"animations":[],"pageAttachment":{"url":"https:\/\/www.testleaf.com\/blog\/playwright-vs-selenium-which-to-choose-in-2025\/?utm_source=web-stories&utm_medium=blog&utm_campaign=organic_SEO","icon":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2022\/05\/favicon-300x300.png","needsProxy":false}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":586,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"412070ed-5141-4cf2-8df1-986eda16b2a8","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","width":720,"height":1280,"sizes":{"medium":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-169x300.png","width":169,"height":300,"filesize":15742,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-169x300.png"},"large":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-576x1024.png","width":576,"height":1024,"filesize":88919,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-576x1024.png"},"thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-150x150.png","width":150,"height":150,"filesize":9555,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-150x150.png"},"rpg_gallery_admin_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-150x150.png","width":150,"height":150,"filesize":9555,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-150x150.png"},"rpg_gallery_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-150x150.png","width":150,"height":150,"filesize":9555,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-150x150.png"},"web-stories-poster-portrait":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-640x853.png","width":640,"height":853,"filesize":94557,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-640x853.png"},"web-stories-publisher-logo":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-96x96.png","width":96,"height":96,"filesize":4796,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-96x96.png"},"web-stories-thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-150x267.png","width":150,"height":267,"filesize":13336,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1-150x267.png"},"full":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1.png","width":720,"height":1280,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1.png"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#226c8b","blurHash":"U9S$ig-nPBoz4nxabwj[?]NLvzjY_MNKn3j?","creationDate":"2025-05-22T12:04:00","src":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-1.png","id":4827,"alt":"7 Cool Things Playwright Can Do That Selenium Can\u2019t (1)","local":false,"provider":"local"}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">Playwright<\/span> can automate Chromium, Firefox, and WebKit out of the box\u2014<span style=\"font-weight: 700\">no need to download or manage browser drivers<\/span>, unlike Selenium.","x":36,"y":421,"width":339,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":131,"id":"17611a87-b59f-4f52-b447-82c29319491a"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"cc8c100a-2748-41af-a51d-a1fe2547d2f1","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"b5214925-4487-47c4-b63a-f54647d701a2"},"animations":[{"id":"72c112b1-368c-45bf-9569-a99764602858","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["412070ed-5141-4cf2-8df1-986eda16b2a8"]},{"id":"e7877dfa-648a-4444-84ba-6e924e979ca7","type":"effect-drop","duration":600,"delay":0,"targets":["17611a87-b59f-4f52-b447-82c29319491a"]}]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":586,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"f90a5147-7440-4bf3-88a6-66dfdc3486d3","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","width":720,"height":1280,"sizes":{"medium":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-169x300.png","width":169,"height":300,"filesize":7375,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-169x300.png"},"large":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-576x1024.png","width":576,"height":1024,"filesize":37197,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-576x1024.png"},"thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-150x150.png","width":150,"height":150,"filesize":2343,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-150x150.png"},"rpg_gallery_admin_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-150x150.png","width":150,"height":150,"filesize":2343,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-150x150.png"},"rpg_gallery_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-150x150.png","width":150,"height":150,"filesize":2343,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-150x150.png"},"web-stories-poster-portrait":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-640x853.png","width":640,"height":853,"filesize":33210,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-640x853.png"},"web-stories-publisher-logo":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-96x96.png","width":96,"height":96,"filesize":1357,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-96x96.png"},"web-stories-thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-150x267.png","width":150,"height":267,"filesize":6352,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2-150x267.png"},"full":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2.png","width":720,"height":1280,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2.png"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#9c9f9e","blurHash":"U1T9L#?b~q%M00%M%Mofx]-p4noy_3%M4nof","creationDate":"2025-05-22T12:04:00","src":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-2.png","id":4826,"alt":"7 Cool Things Playwright Can Do That Selenium Can\u2019t (2)","local":false,"provider":"local"}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"Playwright <span style=\"font-weight: 700\">automatically waits for elements to be ready<\/span> before performing actions\u2014making scripts <span style=\"font-weight: 700\">more stable and less flaky<\/span> than Selenium ones.","x":37,"y":441,"width":339,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":131,"id":"37e57c0a-43d6-48e6-a397-b7433070f71a"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"3fc07366-52d1-4f67-9a80-2756db29bc8e","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"4b0a7b5a-ff59-4bcc-9c2a-d5d64165c0e9"},"animations":[{"id":"81d8e606-31a9-434f-8b10-3638cfd16e17","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["f90a5147-7440-4bf3-88a6-66dfdc3486d3"]},{"id":"e96bd936-5c94-4da1-ae84-9ed10d9175b6","type":"effect-drop","duration":600,"delay":0,"targets":["37e57c0a-43d6-48e6-a397-b7433070f71a"]}]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":586,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"7d0fb10b-9f87-4d73-a6ee-08ec5661b28b","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","width":720,"height":1280,"sizes":{"medium":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-169x300.png","width":169,"height":300,"filesize":10047,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-169x300.png"},"large":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-576x1024.png","width":576,"height":1024,"filesize":54892,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-576x1024.png"},"thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-150x150.png","width":150,"height":150,"filesize":4412,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-150x150.png"},"rpg_gallery_admin_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-150x150.png","width":150,"height":150,"filesize":4412,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-150x150.png"},"rpg_gallery_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-150x150.png","width":150,"height":150,"filesize":4412,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-150x150.png"},"web-stories-poster-portrait":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-640x853.png","width":640,"height":853,"filesize":53694,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-640x853.png"},"web-stories-publisher-logo":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-96x96.png","width":96,"height":96,"filesize":2498,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-96x96.png"},"web-stories-thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-150x267.png","width":150,"height":267,"filesize":8470,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3-150x267.png"},"full":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3.png","width":720,"height":1280,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3.png"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#ccd0cf","blurHash":"U3S~x5?b%Mxu00xut7kB-;aeM|bF_MoLIUa{","creationDate":"2025-05-22T12:03:59","src":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-3.png","id":4825,"alt":"7 Cool Things Playwright Can Do That Selenium Can\u2019t (3)","local":false,"provider":"local"}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"With Playwright, you can <span style=\"font-weight: 700\">intercept API calls, mock responses<\/span>, and test UI behavior under different network conditions\u2014<span style=\"font-weight: 700\">not natively possible in Selenium.<\/span>","x":34,"y":432,"width":345,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":130,"id":"19a2d053-b354-4ba7-96cb-b6f34f2b76e7"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"662b5303-9ad7-48ff-b08e-f0b810908b99","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"055f0a81-1143-4370-8036-299a23308cec"},"animations":[{"id":"eb7e5ac1-9d82-4cbe-a061-b2d6f1edac94","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["7d0fb10b-9f87-4d73-a6ee-08ec5661b28b"]},{"id":"d3a72a28-7ae6-43b9-a236-0efd024324cc","type":"effect-drop","duration":600,"delay":0,"targets":["19a2d053-b354-4ba7-96cb-b6f34f2b76e7"]}]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":586,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"f7203b2c-a935-4af9-8a2a-a4426e3fecbb","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","width":720,"height":1280,"sizes":{"medium":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-169x300.png","width":169,"height":300,"filesize":16076,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-169x300.png"},"large":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-576x1024.png","width":576,"height":1024,"filesize":92840,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-576x1024.png"},"thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-150x150.png","width":150,"height":150,"filesize":9455,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-150x150.png"},"rpg_gallery_admin_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-150x150.png","width":150,"height":150,"filesize":9455,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-150x150.png"},"rpg_gallery_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-150x150.png","width":150,"height":150,"filesize":9455,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-150x150.png"},"web-stories-poster-portrait":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-640x853.png","width":640,"height":853,"filesize":99191,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-640x853.png"},"web-stories-publisher-logo":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-96x96.png","width":96,"height":96,"filesize":4628,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-96x96.png"},"web-stories-thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-150x267.png","width":150,"height":267,"filesize":13682,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4-150x267.png"},"full":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4.png","width":720,"height":1280,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4.png"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#c3ceda","blurHash":"UCSijZt7~ooeD%ofxaay~Vof4okC-:oLE2of","creationDate":"2025-05-22T12:03:59","src":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-4.png","id":4824,"alt":"7 Cool Things Playwright Can Do That Selenium Can\u2019t (4)","local":false,"provider":"local"}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"Playwright allows you to <span style=\"font-weight: 700\">create multiple browser contexts<\/span> in a single instance for <span style=\"font-weight: 700\">parallel and isolated test sessions<\/span>\u2014ideal for modern testing needs.","x":43,"y":443,"width":328,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":130,"id":"2da58ef7-b112-49f0-b076-8dba46881afb"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"98210a5e-9a13-4522-a759-972788afb9f7","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"08d1ff0c-b7ad-46ea-87e7-4d1c3a5b4632"},"animations":[{"id":"d5518730-7e1d-4a8d-b52c-274ef67a7166","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["f7203b2c-a935-4af9-8a2a-a4426e3fecbb"]},{"id":"43331245-124c-457c-9958-68320773728c","type":"effect-drop","duration":600,"delay":0,"targets":["2da58ef7-b112-49f0-b076-8dba46881afb"]}]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":586,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"b6b4c71f-207b-4403-adf2-2a76af28d0b2","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","width":720,"height":1280,"sizes":{"medium":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-169x300.png","width":169,"height":300,"filesize":13987,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-169x300.png"},"large":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-576x1024.png","width":576,"height":1024,"filesize":79886,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-576x1024.png"},"thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-150x150.png","width":150,"height":150,"filesize":7593,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-150x150.png"},"rpg_gallery_admin_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-150x150.png","width":150,"height":150,"filesize":7593,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-150x150.png"},"rpg_gallery_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-150x150.png","width":150,"height":150,"filesize":7593,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-150x150.png"},"web-stories-poster-portrait":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-640x853.png","width":640,"height":853,"filesize":82934,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-640x853.png"},"web-stories-publisher-logo":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-96x96.png","width":96,"height":96,"filesize":3819,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-96x96.png"},"web-stories-thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-150x267.png","width":150,"height":267,"filesize":11623,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5-150x267.png"},"full":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5.png","width":720,"height":1280,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5.png"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#d3d0cc","blurHash":"U3S?DV%M~qxt00xuxuoe%gxa4mX8_3xaD%W;","creationDate":"2025-05-22T12:03:58","src":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-5.png","id":4823,"alt":"7 Cool Things Playwright Can Do That Selenium Can\u2019t (5)","local":false,"provider":"local"}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"Playwright handles <span style=\"font-weight: 700\">Single Page Applications (SPAs)<\/span> and <span style=\"font-weight: 700\">Shadow DOM<\/span> content more effectively with built-in APIs\u2014<span style=\"font-weight: 700\">giving more reliable test coverage.<\/span>","x":48,"y":427,"width":337,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":131,"id":"f2be6807-82b8-4980-b56e-0dcc10fa7ae9"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"8e5f0840-db42-475d-94b7-76f9dccb1586","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"65952015-4d3b-4a7a-b987-83dfb5395bfc"},"animations":[{"id":"35e7c417-0539-4118-86bb-6222be73095c","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["b6b4c71f-207b-4403-adf2-2a76af28d0b2"]},{"id":"9faa8572-6145-40f7-ad65-462a9123f84d","type":"effect-drop","duration":600,"delay":0,"targets":["f2be6807-82b8-4980-b56e-0dcc10fa7ae9"]}]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":586,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"f700c4e7-cc38-4e8c-8cf8-92b4d4eebdd1","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","width":720,"height":1280,"sizes":{"medium":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-169x300.png","width":169,"height":300,"filesize":8934,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-169x300.png"},"large":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-576x1024.png","width":576,"height":1024,"filesize":42877,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-576x1024.png"},"thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-150x150.png","width":150,"height":150,"filesize":3417,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-150x150.png"},"rpg_gallery_admin_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-150x150.png","width":150,"height":150,"filesize":3417,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-150x150.png"},"rpg_gallery_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-150x150.png","width":150,"height":150,"filesize":3417,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-150x150.png"},"web-stories-poster-portrait":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-640x853.png","width":640,"height":853,"filesize":39672,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-640x853.png"},"web-stories-publisher-logo":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-96x96.png","width":96,"height":96,"filesize":2135,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-96x96.png"},"web-stories-thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-150x267.png","width":150,"height":267,"filesize":7754,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6-150x267.png"},"full":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6.png","width":720,"height":1280,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6.png"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#e82626","blurHash":"UDS~kuoL.mtRIAj[tlkCyrofHrV@pwofQ-ae","creationDate":"2025-05-22T12:03:57","src":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-6.png","id":4822,"alt":"7 Cool Things Playwright Can Do That Selenium Can\u2019t (6)","local":false,"provider":"local"}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"It has <span style=\"font-weight: 700\">native support for capturing screenshots and videos<\/span> during test runs for better debugging and documentation\u2014<span style=\"font-weight: 700\">without extra plugins.<\/span>","x":36,"y":457,"width":339,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":130,"id":"ded6b71a-fb4d-4e82-be35-49ab3069f67b"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"633b6234-7b57-46c7-94bc-f901e4763e10","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"855c2c98-0f6f-4dc9-96a2-74c539c08f4b"},"animations":[{"id":"d06ac907-60aa-41e0-84dc-7646a0490b67","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["f700c4e7-cc38-4e8c-8cf8-92b4d4eebdd1"]},{"id":"2fc0a24e-3d7b-47dc-ab63-15cc4889d949","type":"effect-drop","duration":600,"delay":0,"targets":["ded6b71a-fb4d-4e82-be35-49ab3069f67b"]}]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":586,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"53d927c7-4b79-4564-880a-045855d830f8","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","width":720,"height":1280,"sizes":{"medium":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-169x300.png","width":169,"height":300,"filesize":13241,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-169x300.png"},"large":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-576x1024.png","width":576,"height":1024,"filesize":80469,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-576x1024.png"},"thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-150x150.png","width":150,"height":150,"filesize":6784,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-150x150.png"},"rpg_gallery_admin_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-150x150.png","width":150,"height":150,"filesize":6784,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-150x150.png"},"rpg_gallery_thumb":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-150x150.png","width":150,"height":150,"filesize":6784,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-150x150.png"},"web-stories-poster-portrait":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-640x853.png","width":640,"height":853,"filesize":83575,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-640x853.png"},"web-stories-publisher-logo":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-96x96.png","width":96,"height":96,"filesize":3544,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-96x96.png"},"web-stories-thumbnail":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-150x267.png","width":150,"height":267,"filesize":11112,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7-150x267.png"},"full":{"file":"7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7.png","width":720,"height":1280,"mimeType":"image\/png","sourceUrl":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7.png"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#89a6d1","blurHash":"UCSijat7~UovE1oft7j?~Tof4;a$-ooeIojc","creationDate":"2025-05-22T12:03:57","src":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant-7.png","id":4821,"alt":"7 Cool Things Playwright Can Do That Selenium Can\u2019t (7)","local":false,"provider":"local"}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"Playwright runs tests <span style=\"font-weight: 700\">headless by default<\/span>, supports <span style=\"font-weight: 700\">Windows, macOS, and Linux<\/span> natively, and integrates well with CI\/CD pipelines\u2014offering <span style=\"font-weight: 700\">better platform compatibility<\/span>.","x":33,"y":432,"width":345,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":158,"id":"6c82e323-952d-4f12-8f2f-3261183d8716"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"123482f6-f72f-4723-bad8-6c1502f248a0","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"0e71bd87-667d-47ba-a920-91d5eb2f4af2"},"animations":[{"id":"fb7896c8-2269-4313-8ff4-99ab4ed9d198","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["53d927c7-4b79-4564-880a-045855d830f8"]},{"id":"03714633-52a8-469c-a91c-82fe95562207","type":"effect-drop","duration":600,"delay":0,"targets":["6c82e323-952d-4f12-8f2f-3261183d8716"]}]}],"fonts":{"Roboto":{"family":"Roboto","weights":[100,300,400,500,700,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,700],[1,700],[0,900],[1,900]],"fallbacks":["Helvetica Neue","Helvetica","sans-serif"],"service":"fonts.google.com","metrics":{"upm":2048,"asc":1900,"des":-500,"tAsc":1536,"tDes":-512,"tLGap":102,"wAsc":1946,"wDes":512,"xH":1082,"capH":1456,"yMin":-555,"yMax":2163,"hAsc":1900,"hDes":-500,"lGap":0}}},"autoAdvance":true,"defaultPageDuration":7,"currentStoryStyles":{"colors":[]}},"story_poster":{"id":4829,"url":"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/05\/cropped-7-Cool-Things-Playwright-Can-Do-That-Selenium-Cant.png","width":640,"height":853,"needsProxy":false},"_links":{"self":[{"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/web-story\/4820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/web-story"}],"about":[{"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/types\/web-story"}],"author":[{"embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/web-story\/4820\/revisions"}],"predecessor-version":[{"id":4830,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/web-story\/4820\/revisions\/4830"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/media\/4829"}],"wp:attachment":[{"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/media?parent=4820"}],"wp:term":[{"taxonomy":"web_story_category","embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/web_story_category?post=4820"},{"taxonomy":"web_story_tag","embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/web_story_tag?post=4820"}],"wp:lock":[{"embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/web-story\/4820\/lock"}],"wp:publisherlogo":[{"embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/web-stories\/v1\/media\/161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}