MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / replaceTextInField

Method replaceTextInField

e2e/utils/Gestures.js:111–115  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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.

Callers 13

typeTokenAddressMethod · 0.45
typeInNFTAddressMethod · 0.45
typeInNFTIdentifierMethod · 0.45
typeContractNickNameMethod · 0.45
clearNickNameMethod · 0.45
editAccountNameMethod · 0.45
searchForTokenMethod · 0.45
inputAddressMethod · 0.45
enterPrivateKeyMethod · 0.45
typeInNameMethod · 0.45
typeInMemoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected