returnawaitthis.poll(()=>this.driver.getElements(windowId,selector).then(els=>els[0].textContent),s=>accept!(typeofs==='string'?s:''),`get text content '${selector}'`);
returnawaitpoll(()=>this.driver.getElements(windowId,selector).then(els=>els[0].textContent),s=>accept!(typeofs==='string'?s:''),`get text content '${selector}'`);