在我的例子中,我有一个选项卡,它显示在进度栏之后: new WebDriverWait(driver, 30).until(on Tab " + name + " using id locator " + tabId);
WebElementwebElement = webDriverWait.until(ExpectedConditions.elementToBeClickable(B
当量角器超时等待元素时,我想打印元素作为消息的一部分。 let EC = protractor.ExpectedConditions; browser.wait(isVisible, time, `Timed out waiting for element ${webDriverEl} to be visible`);没有任何运气,试图使元素打印正确。任何帮助都是非常感谢的。