playwright/docs/examples
2020-04-23 08:44:58 -07:00
..
authentication.js fix(examples): closes #1916 (#1934) 2020-04-23 08:44:58 -07:00
README.md docs: adds introduction.md (#1905) 2020-04-21 15:42:52 -07:00
upload.js docs(examples): update main readme to point to examples + add a file uploads example (#1484) 2020-03-23 10:39:43 -07:00

Example recipes

Authentication

This script logs in on GitHub.com through Chromium, and then reuses the login cookies state in WebKit. This recipe can be used to speed up tests by logging in once and reusing login state.

File uploads

This script uploads a file to an input element that accepts file uploads.