*** title: Browser Interaction description: 'Element targeting, typing, clicking, and readiness checks.' ------------------------------------------------------------------------- Element targeting, typing, clicking, and readiness checks. ## Support Matrix | Capability | Playwright | Puppeteer | Stagehand | | ---------------------------------------------- | ---------- | --------- | --------- | | [`page.locator`](./page-locator) | Yes | Yes | | | [`page.captcha.detect`](./page-captcha-detect) | Yes | Yes | Yes | | [`page.captcha.solve`](./page-captcha-solve) | Yes | Yes | Yes | | [`locator.click`](./locator-click) | Yes | Yes | | | [`locator.fill`](./locator-fill) | Yes | Yes | | | [`locator.type`](./locator-type) | Yes | Yes | | | [`locator.press`](./locator-press) | Yes | Yes | | | [`locator.waitFor`](./locator-wait-for) | Yes | Yes | | ## Capabilities * [`page.locator`](./page-locator) - Create a locator bound to the current page. * [`page.captcha.detect`](./page-captcha-detect) - Detect supported captcha widgets on the active page. * [`page.captcha.solve`](./page-captcha-solve) - Attempt to solve a supported captcha on the active page. * [`locator.click`](./locator-click) - Click the matched element. * [`locator.fill`](./locator-fill) - Replace the current value of an input-like element. * [`locator.type`](./locator-type) - Type text into the matched element. * [`locator.press`](./locator-press) - Send a keypress to the matched element. * [`locator.waitFor`](./locator-wait-for) - Wait for the matched element to reach the requested state.