Expert in Xpath, Xpath Functions,Selenium WebDriver,Selectors Hub,starts-with(),normalize-space()
Xpath Tutorial Part 2:
------------------------------
• Functions - last(),position(),starts-with(),contains(),text(),normalize-space()
Examples:
//input[@name='chk'][last()]- To select last matching element in the list having same attributes.
//input[@name='chk'][last()-3]
//input[@name='chk'][position()=4] To select the matching element based on the index value
//input[starts-with(@placeholder,'Enter')] To select the matching attribute value which is static.
//input[starts-with(@class,'textboxcolor')]
//strong[text()='SELENIUM BASICS AND ADVANCED TOPICS']To select the element which are having the text inbetween the tag Name
//strong[contains(text(),'SELENIUM')]
//strong[normalize-space(text())='JAVA BASICS'] To select the element which are having spaces in between the tagName
Xpath Complete Tutorial Series:
-------------------------------------
Pre-Requisite:
--------------------
• HTML Tree
• Examples
• Chrome Plugin : SELECTOR HUB
• Video Link : https://www.youtube.com/watch?v=zYuZUBvKlhQ
Xpath Tutorial Part 1:
------------------------------
• Why Xpath?
• Absolute/Relative
• ATTRIBUTE SELECTOR
• ID SELECTOR
• XPATH INDEXING
• Video Link : https://www.youtube.com/watch?v=zYuZUBvKlhQ
Видео Expert in Xpath, Xpath Functions,Selenium WebDriver,Selectors Hub,starts-with(),normalize-space() автора JS Передовые технологии
Видео Expert in Xpath, Xpath Functions,Selenium WebDriver,Selectors Hub,starts-with(),normalize-space() автора JS Передовые технологии
Информация
3 декабря 2023 г. 11:58:02
00:20:03
Похожие видео