UNPKG

webdriverio

Version:

Next-gen browser and mobile automation test framework for Node.js

20 lines 608 B
/** * * Get the computed WAI-ARIA label of an element. * * <example> :getComputedLabel.js it('should demonstrate the getComputedLabel command', async () => { await browser.url('https://www.google.com/ncr') const elem = await $('*[name="q"]'); console.log(await elem.getComputedLabel()); // outputs: "Search" }) * </example> * * @alias element.getComputedLabel * @return {String} the computed WAI-ARIA label * @type property * */ export declare function getComputedLabel(this: WebdriverIO.Element): Promise<string>; //# sourceMappingURL=getComputedLabel.d.ts.map