webdriverio
Version:
Next-gen browser and mobile automation test framework for Node.js
19 lines • 665 B
TypeScript
/**
* 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 {unknown} the value of the property of the selected element
*/
export declare function getProperty(this: WebdriverIO.Element, property: string): Promise<unknown>;
//# sourceMappingURL=getProperty.d.ts.map