Better HN
topnewbestaskshowjobs
Log inSign up

ragog

69 karma · joined Apr 28, 2020 (6y ago) · 17 submissions

Submissions

comment 3y ago · link · parent

ok

2.

Codemod to convert Puppeteer scripts to Playwright(github.com ↗)

8 points · by ragog · 4y ago · discuss

comment 5y ago · link · parent

Author here. To provide some context, this article was written as a follow up to our previous benchmark (https://blog.checklyhq.com/puppeteer-vs-selenium-vs-playwrig...) after a lot of folks requested we add Cypress. Initially I was not sure this would be a good idea, as Cypress has a different focus and scope, but the sheer number of requests convinced me some folks out there might benefit. I hope this is helpful.

4.

Benchmark: Cypress vs. Selenium vs. Playwright vs. Puppeteer(blog.checklyhq.com ↗)

9 points · by ragog · 5y ago · 2 comments

comment 5y ago · link · parent

The scope of the benchmark is narrower than that, as stated in the article. It is not our aim to talk features, community, reliability (etc.) in this one article - that rather sounds like a book, and a long one at that.

comment 5y ago · link · parent

It is indeed hard to have an all-encompassing comparison that will take everything into account. Unfortunately, to have precise answers in feasible time you have to narrow the scope. Here we looked at one parameter of a complex equation.

comment 5y ago · link · parent

In the near future.

comment 5y ago · link · parent

Author here - I'd be keen to go into further detail in a follow-up article if people are interested. Out of curiosity, what details would be most interesting for you about system and browser config?

9.

Benchmark: Puppeteer vs. Selenium vs. Playwright vs. WebDriverIO(blog.checklyhq.com ↗)

118 points · by ragog · 5y ago · 29 comments

10.

How we (almost) maxed out the Lighthouse score of our landing page – in one day(blog.checklyhq.com ↗)

5 points · by ragog · 6y ago · discuss

comment 6y ago · link · parent

Please do! This is a very interesting topic. Looking forward to reading about it.

comment 6y ago · link · parent

This is highly opinionated, but I have been using and teaching how to use Selenium and Appium for a few years so that is unavoidable :) I would say the pros of Puppeteer & Playwright:

- generally higher speed

- higher reliability (specifically lower base false-positive rate)

These are mainly due to architectural choices (less moving parts between script and browser).

That being said, Selenium has been the open-source standard in cross-browser testing for a long time now, and is more polished and feature-rich. Also, multi-language support makes it an easier choice for non-JS teams. I would suggest a quick hands-on POC if you want to use these tools in a project.

comment 6y ago · link · parent

The other answers pretty much sum this up already: the topic is not so straightforward as many think. I believe having a dedicated post on this might be beneficial, so I will put this on my list of articles for the basics on theheadless.dev (I am one of the initial contributors).