/**
*
* Get an attribute from a DOM-element based on the attribute name.
*
*
:index.html
:getAttribute.js
it('should demonstrate the getAttribute command', async () => {
const form = await $('form')
const attr = await form.getAttribute('method')
console.log(attr) // outputs: "post"
})
*
*
* @alias element.getAttribute
* @param {string} attributeName requested attribute
* @return {String|null} The value of the attribute, or null if it is not set on the element.
* @uses protocol/elements, protocol/elementIdAttribute
* @type property
*
*/
export declare function getAttribute(this: WebdriverIO.Element, attributeName: string): Promise;
//# sourceMappingURL=getAttribute.d.ts.map