In Playwright 1.38, a new locator.pressSequentially() method was introduced. On the other hand, it still has the locator.fill() method. Both methods serve one simple goal – to complete text input with text using a keyboard.
This article will briefly examine how all these methods work and when to use them.
For this tutorial, I will use a simple HTML user input.
One thought on “locator.fill and locator.pressSequentially in Playwright”