标签:com partial ext tor off toc xpath 样式 art
cssSelector
By.cssSelector("input")
By.cssSelector("input#id");
By.cssSelector("#id");
By.cssSelector(".className");
By.cssSelector("input.className");
xpath
绝对路径
相对路径
//*[@name=‘phone‘]
//input[@maxlength=‘100‘ and @autocomplete=‘off‘]
//a[contains(text0,‘ hao123‘)]
//a[text0=‘新闻‘]
标签:com partial ext tor off toc xpath 样式 art
原文地址:https://www.cnblogs.com/JacquelineQA/p/12593168.html