Playwright Python - Checkbox and Radio Inputs

Опубликовано: 28 Сентябрь 2024
на канале: Rahul Mula
823
8

In this video you'll learn how to work with checkboxes, and radio inputs, how to toggle, check, or uncheck a checkbox, and select a specific option in radio inputs.

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

Using locator.set_checked() is the easiest way to check and uncheck a checkbox or a radio button. This method can be used with input[type=checkbox], input[type=radio] and [role=checkbox] elements.

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.