Date: 2024-10-31 21:31:58
Score: 1.5
Natty:
They are basically the same setChecked
is calling check
internally
async setChecked(checked: boolean, options?: channels.ElementHandleCheckOptions) {
if (checked)
await this.check(options);
else
await this.uncheck(options);
}
https://github.com/microsoft/playwright/blob/69404561f9d09e045fd72f879cd96dabee016176/packages/playwright-core/src/client/locator.ts#L308-L313
Reasons:
- Probably link only (1):
- Low length (0.5):
- Has code block (-0.5):
- Low reputation (0.5):
Posted by: Adrian Molina