官术网_书友最值得收藏!

Using the By locating mechanism

By is the locating mechanism passed to the findElement() method or the findElements() method to fetch the respective WebElement(s) on a web page. There are eight different locating mechanisms; that is, eight different ways to identify

an HTML element on a web page. They are located by ID, Name, ClassName, TagName, LinkText, PartialLinkText, XPath, and CSS Selector.

主站蜘蛛池模板: 北海市| 高邮市| 冀州市| 泰宁县| 泸州市| 远安县| 青海省| 呼图壁县| 长寿区| 唐海县| 兰坪| 普宁市| 万荣县| 安福县| 湖南省| 温州市| 靖宇县| 滨海县| 长宁区| 茶陵县| 汾阳市| 石林| 瑞昌市| 涿州市| 石屏县| 汨罗市| 本溪| 白玉县| 淄博市| 台东县| 东源县| 泾源县| 瑞金市| 翁牛特旗| 汉阴县| 西乌珠穆沁旗| 三河市| 东平县| 彩票| 安阳县| 伊宁县|