/** * * Select option with displayed text matching the argument. * * :example.html :selectByVisibleText.js it('demonstrate the selectByVisibleText command', async () => { const selectBox = await $('#selectbox'); console.log(await selectBox.getText('option:checked')); // returns "uno" await selectBox.selectByVisibleText('cuatro'); console.log(await selectBox.getText('option:checked')); // returns "cuatro" }) * * * @alias element.selectByVisibleText * @param {String|Number} text text of option element to get selected * @uses protocol/findElementsFromElement, protocol/elementClick * @type action * */ export declare function selectByVisibleText(this: WebdriverIO.Element, text: string | number): Promise; //# sourceMappingURL=selectByVisibleText.d.ts.map