* Smart Wait to locate an element * * @param {object} locator
(locator)
| 875 | * @param {object} locator |
| 876 | */ |
| 877 | async _smartWait(locator) { |
| 878 | this.debugSection(`SmartWait (${this.options.smartWait}ms)`, `Locating ${JSON.stringify(locator)} in ${this.options.smartWait}`) |
| 879 | await this.defineTimeout({ implicit: this.options.smartWait }) |
| 880 | } |
| 881 | |
| 882 | /** |
| 883 | * Get elements by different locator types, including strict locator. |