User Tools

Site Tools


identificacion_de_objetos_por_xpath

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

identificacion_de_objetos_por_xpath [2020/10/22 12:04]
montse [XPath object identification]
identificacion_de_objetos_por_xpath [2020/10/22 12:33] (current)
montse
Line 29: Line 29:
 |or |Logical OR as usual. |de[@mg or @dus] |"//​de//"​ element containing a "//​mg//"​ attribute or a "//​dus//"​ attribute.| |or |Logical OR as usual. |de[@mg or @dus] |"//​de//"​ element containing a "//​mg//"​ attribute or a "//​dus//"​ attribute.|
 |contains() |Matches all the elements that (partially) contains what is inside the brackets. |de[contains(.,'​click here'​)] |"//​de//"​ elements with a text containing "//​click here//"​.| |contains() |Matches all the elements that (partially) contains what is inside the brackets. |de[contains(.,'​click here'​)] |"//​de//"​ elements with a text containing "//​click here//"​.|
-|starts-with() |Matches all the elements that start with what is inside the brackets. |de[starts-with(@id,'​id-name'​)] |"//​de//"​elements whose id starts with "//​id-name(...)//"​.|+|starts-with() |Matches all the elements that start with what is inside the brackets. |de[starts-with(@id,'​id-name'​)] |"//​de//"​ elements whose id starts with "//​id-name(...)//"​.|
 |[ .=''​] |Matches the elements with a string. |de[.='​string 1 of 6'​] |"//​de//"​ elements with the string "//​string 1 of 6//".| |[ .=''​] |Matches the elements with a string. |de[.='​string 1 of 6'​] |"//​de//"​ elements with the string "//​string 1 of 6//".|
 |normalize-space() |Matches the elements with a string, ignoring leading or trailing blank spaces. |de[normalize-space()='​mg'​] |"//​de//"​ elements with the string "//​mg//"​ or "// mg//" or "//mg //" or "// mg //".| |normalize-space() |Matches the elements with a string, ignoring leading or trailing blank spaces. |de[normalize-space()='​mg'​] |"//​de//"​ elements with the string "//​mg//"​ or "// mg//" or "//mg //" or "// mg //".|
identificacion_de_objetos_por_xpath.1603368299.txt.gz ยท Last modified: 2020/10/22 12:04 by montse