私はSeleniumで作業していますが、この質問はSeleniumではなくJavaに固有のものです。
私が提供している例は、SeleniumWebDriverExplicitWaitです。
new ExpectedCondition<WebElement>(){
@Override
public WebElement apply(WebDriver d)
{
return d.findElement(By.id("myDynamicElement"));
}});
彼は正確に何をしているのですか?オブジェクトへの参照をクラスExpectedConditionに割り当てずにロジックを作成する方法???
ありがとう。