vendredi 22 novembre 2019

Erasing an input field on a webpage using JS Node (Puppeteer Framework)

So I'm new to JS node and Puppeteer and have ran into a problem. I am trying to run a program to navigate to a webpage, input a string into a field (example: Name - 'Tom') and then erase it. For input I'm using keyboard.type but how would I go about erasing the input once I'm done? keyboard.type("") won't work ofc ourse but I can't seem to find another way.

Thank you in advance for your time.




Aucun commentaire:

Enregistrer un commentaire