<story><title>Benchmark: Puppeteer vs. Selenium vs. Playwright vs. WebDriverIO</title><url>https://blog.checklyhq.com/puppeteer-vs-selenium-vs-playwright-speed-comparison/</url></story><parent_chain></parent_chain><comment><author>JackC</author><text>I&amp;#x27;m really excited by what Playwright has been up to on the python side recently with the pytest-playwright package. Browser-testing a Django app can be as simple as:&lt;p&gt;&lt;pre&gt;&lt;code&gt;  def test_homepage(live_server, page):
      page.goto(live_server.url)
      assert page.innerText(&amp;#x27;#splash-quote&amp;#x27;) == &amp;#x27;our splash-quote&amp;#x27;
  
  $ pytest -k test_homepage --browser chromium --browser firefox --verbose
  tests&amp;#x2F;test_browser.py::test_homepage[chromium] PASSED                [ 50%]
  tests&amp;#x2F;test_browser.py::test_homepage[firefox] PASSED                 [100%]&lt;/code&gt;&lt;/pre&gt;</text></comment>
<story><title>Benchmark: Puppeteer vs. Selenium vs. Playwright vs. WebDriverIO</title><url>https://blog.checklyhq.com/puppeteer-vs-selenium-vs-playwright-speed-comparison/</url></story><parent_chain></parent_chain><comment><author>alexellisuk</author><text>Interesting.. I&amp;#x27;ve chatted with Tim and learned a lot of people run Puppeteer on Lambda.. there is an easier way (spoiler - I work on the open source project OpenFaaS) - &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.openfaas.com&amp;#x2F;blog&amp;#x2F;puppeteer-scraping&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.openfaas.com&amp;#x2F;blog&amp;#x2F;puppeteer-scraping&amp;#x2F;&lt;/a&gt;&lt;p&gt;Hope it&amp;#x27;s of some use to folks who may be struggling to compile lambda-chrome or with local testing.&lt;p&gt;I used Selenium a lot in a past life, so this post is interesting to see, but the UX and maintenance cost is also going to need to be factored in with bigger suites of tests.</text></comment>