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

Method click

lib/helper/Playwright.js:2080–2082  ·  view source on GitHub ↗

* {{> click }} * * @param {any} [options] [Additional options](https://playwright.dev/docs/api/class-page#page-click) for click available as 3rd argument. * * @example * * ```js * // click on element at position * I.click('canvas', '.model', { position: { x: 20, y: 40 } })

(locator = '//body', context = null, options = {})

Source from the content-addressed store, hash-verified

2078 *
2079 */
2080 async click(locator = '//body', context = null, options = {}) {
2081 return proceedClick.call(this, locator, context, options)
2082 }
2083
2084 /**
2085 * {{> forceClick }}

Callers 3

clickXYMethod · 0.45
proceedClickFunction · 0.45
proceedSelectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected