From the API v0.12.0, the arguments of
page.type function has changed like
page.type(selector, text[, options]) . This change allows us to select an element and type in texts with one function call.
The recent version of Puppeteer is v0.13.0 so developers who install Puppeteer after reading this article should change the…