internal static WebTree GetTreeWithId(this RemoteWebDriver driver, string id, WebTreeOptions options)
        {
            var listElement = driver.GetStableAccessibleElementById(id);

            return(new WebTree(driver, listElement, options));
        }
示例#2
0
 public WebTree GetTreeWithId(string id, WebTreeOptions options = null)
 {
     return(Driver.GetTreeWithId(id, options));
 }
示例#3
0
        public WebTree ToWebTree(WebTreeOptions options = null)
        {
            var body = GetPageBody();

            return(new WebTree(Driver, body, options));
        }
示例#4
0
        public WebTree GetTreeWithId(string id, WebTreeOptions options = null)
        {
            var listElement = Driver.GetStableAccessibleElementById(id);

            return(new WebTree(this, listElement, options));
        }