* Replace the text in the field of an element identified by ID. * * @param {Promise } elementID - ID of the element to replace the text in * @param {string} text - Text to replace the existing text in the element
(elementID, text)
| 109 | * @param {string} text - Text to replace the existing text in the element |
| 110 | */ |
| 111 | static async replaceTextInField(elementID, text) { |
| 112 | const element = await elementID; |
| 113 | |
| 114 | await element.replaceText(text); |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * Swipe on an element identified by ID. |
no outgoing calls
no test coverage detected