UNPKG

@luminati-io/webdriverio8

Version:

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

18 lines 684 B
/** * The Get Element Property command will return the result of getting a property of an element. * * <example> :getProperty.js it('should demonstrate the getProperty command', async () => { var elem = await $('body') var tag = await elem.getProperty('tagName') console.log(tag) // outputs: "BODY" }) * </example> * * @alias element.getProperty * @param {string} property name of the element property * @return {Object|String|Boolean|Number|null} the value of the property of the selected element */ export declare function getProperty(this: WebdriverIO.Element, property: string): Promise<any>; //# sourceMappingURL=getProperty.d.ts.map