Город МОСКОВСКИЙ
00:04:42

Playwright Python - Upload Files

Аватар
Питоновская трансформация кода
Просмотры:
39
Дата загрузки:
03.12.2023 17:47
Длительность:
00:04:42
Категория:
Обучение

Описание

In this video you'll learn how to upload files. We will set the input file/s inside a file input field.

Full Playwright Course ? - https://bit.ly/playwright-auto

You can select input files for upload using the locator.set_input_files() method. It expects first argument to point to an input element with the type "file". Multiple files can be passed in the array. If some of the file paths are relative, they are resolved relative to the current working directory. Empty array clears the selected files.

Playwright is a modern, fast and reliable browser automation tool from Microsoft that enables testing and automation across all modern browsers including chromium, firefox and webkit.

Рекомендуемые видео