Udemy Playwright: Web Automation Testing From Zero to Hero: Difference between revisions
Jump to navigation
Jump to search
Udemy Playwright: Web Automation Testing From Zero to Hero (view source)
Revision as of 03:45, 24 May 2024
, 24 May→Checkboxes
m (→Checkboxes) |
m (→Checkboxes) |
||
Line 426: | Line 426: | ||
}</nowiki> | }</nowiki> | ||
I couldn't get <code>const checkBoxes = await page.getByRole("checkbox").all()<code> and then use array forEach(...) to work, not sure why ... but using the for loop is documented in the method tooltip ... | I couldn't get <code>const checkBoxes = await page.getByRole("checkbox").all()</code> and then use array <code>forEach(...)</code> to work, not sure why ... but using the for loop is documented in the method tooltip ... | ||
=== Lists & Dropdowns === | === Lists & Dropdowns === |