Is possible to use Autocomplete
(Google Chrome autofill feature) in Puppeteer
?
This feature is not mentioned in the official Puppeteer
documentation
Is possible to use Autocomplete
(Google Chrome autofill feature) in Puppeteer
?
This feature is not mentioned in the official Puppeteer
documentation
The autofill/autocomplete widget cannot be interacted with via automation. This restriction is a security measure considering that the widget presents an interface for accessing critically sensitive information such as credit card data. The widget cannot be access via DOM interfaces and cannot be styled.
Moreover, testing the autocomplete/autofill feature absolutely adds no value to the quality process. Focus your tests on data generated by your application and components you actually developed.
The source of the suggested values is generally up to the browser; typically values come from past values entered by the user, but they may also come from pre-configured values. For instance, a browser might let the user save their name, address, phone number, and email addresses for autocomplete purposes. Perhaps the browser offers the ability to save encrypted credit card information, for autocompletion following an authentication procedure.