Upload File using playwright Typescript - Tips and Tricks

preview_player
Показать описание
Uploading files in automation is always tricky. Playwright supports uploading a file if the selector is the input. Playwright has the 'filechooser' event which waits till the file uploads happen. Also with the filechooser method you can verify if it allows multiple file uploads or not. Also, it provides an option to provide timeout to handle large file uploads.
In this video, I will write code and explain
1. how to upload files using Playwright javascript?
2. how to provide timeout to handle large files?
#automationtesting #automationtesting #playwright

If you are QA and want to stay updated and learn something new, please Subscribe to this channel.
Follow-
Рекомендации по теме
Комментарии
Автор

Love your videos! Would be great if there is a Playwright-JUnit integration guide too but have been following this series and find it extremely helpful :)) Great work mate!

Sam-kxbm