📅  最后修改于: 2022-03-11 14:52:23.761000             🧑  作者: Mango
public TopPanel(WebDriver driver) {
this.driver = driver; //<< remove as this is already initialized and it is treated as duplicate
PageFactory.initElements(driver, this);
}