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

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.

主站蜘蛛池模板: 朝阳区| 乌拉特后旗| 甘谷县| 安达市| 科技| 洪泽县| 青海省| 军事| 深水埗区| 蕉岭县| 张北县| 凉山| 温泉县| 宜章县| 亳州市| 金坛市| 唐海县| 苍溪县| 泰兴市| 饶平县| 沂水县| 朝阳市| 炉霍县| 历史| 彭州市| 宽城| 鄱阳县| 乌兰察布市| 河源市| 稻城县| 湘潭县| 房山区| 清水河县| 永济市| 和田县| 观塘区| 长子县| 塔城市| 康乐县| 稻城县| 瓦房店市|