* {{> click }} *
(locator, context)
| 1541 | * |
| 1542 | */ |
| 1543 | async click(locator, context) { |
| 1544 | if (this.isWeb) return super.click(locator, context) |
| 1545 | |
| 1546 | const { elementId } = await this.browser.$(parseLocator.call(this, locator), parseLocator.call(this, context)) |
| 1547 | |
| 1548 | return this.axios({ |
| 1549 | method: 'post', |
| 1550 | url: `${this._buildAppiumEndpoint()}/element/${elementId}/click`, |
| 1551 | data: {}, |
| 1552 | }) |
| 1553 | } |
| 1554 | |
| 1555 | /** |
| 1556 | * {{> dontSeeCheckboxIsChecked }} |
no test coverage detected