MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / uncheckOption

Method uncheckOption

lib/helper/Playwright.js:2183–2187  ·  view source on GitHub ↗

* * [Additional options](https://playwright.dev/docs/api/class-elementhandle#element-handle-uncheck) for uncheck available as 3rd argument. * * Examples: * * ```js * // click on element at position * I.uncheckOption('Agree', '.signup', { position: { x: 5, y: 5 } }) * ``` *

(field, context = null, options = { force: true })

Source from the content-addressed store, hash-verified

2181 * {{> uncheckOption }}
2182 */
2183 async uncheckOption(field, context = null, options = { force: true }) {
2184 const elm = await this._locateCheckable(field, context)
2185 await elm.uncheck(options)
2186 return this._waitForAction()
2187 }
2188
2189 /**
2190 * {{> seeCheckboxIsChecked }}

Callers

nothing calls this directly

Calls 2

_locateCheckableMethod · 0.95
_waitForActionMethod · 0.95

Tested by

no test coverage detected