How do I avoid .then or repeated await when chaining promises in TypeScript?
I wrote some code to wrap the Playwright Page
to simplify a few operations. In one of my operations, I wanted to do something like typing and tabbing (this simulates the user behaviour better even if it is slower for Playwright so it’s primarily to test that tab order works as expected).