MCPcopy
hub / github.com/BlueWallet/BlueWallet / extractTextFromElementById

Function extractTextFromElementById

tests/e2e/helperz.js:192–195  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

190 * @returns {Promise<string>}
191 */
192export async function extractTextFromElementById(id) {
193 const attributes = await element(by.id(id)).getAttributes();
194 return attributes.value || attributes.label;
195}
196
197export const expectToBeVisible = async id => {
198 try {

Callers 2

bluewallet.spec.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected