我有两种方法:
RemoteWebDriver对象并在其上执行findElement()。WebElement对象并在其上执行findElement()。有没有办法将这两者合并成一个接收RemoteWebDriver或WebElement对象的方法?
发布于 2017-02-16 07:54:15
公共接口是SearchContext
https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/SearchContext.html
( IDE能够向您提供这样的信息,查找类型层次结构)
https://stackoverflow.com/questions/42267409
复制相似问题