/**
*
* Select option with a specific value.
*
*
:example.html
:selectByAttribute.js
it('Should demonstrate the selectByAttribute command', async () => {
const selectBox = await $('#selectbox');
const value = await selectBox.getValue();
console.log(value); // returns "someValue0"
await selectBox.selectByAttribute('value', 'someValue3');
console.log(await selectBox.getValue()); // returns "someValue3"
await selectBox.selectByAttribute('name', 'someName5');
console.log(await selectBox.getValue()); // returns "someValue5"
});
*
*
* @alias element.selectByAttribute
* @param {string} attribute attribute of option element to get selected
* @param {String|Number} value value of option element to get selected
* @uses protocol/findElementFromElement, protocol/elementClick
* @type action
*
*/
export declare function selectByAttribute(this: WebdriverIO.Element, attribute: string, value: string | number): Promise;
//# sourceMappingURL=selectByAttribute.d.ts.map