XPath with multiple conditions

后端 未结 5 1790
慢半拍i
慢半拍i 2020-11-30 19:24

What XPath can I use to select any category with a name attribute specified and any child node author with the value specified.

I\'ve tried different variations of t

5条回答
  •  粉色の甜心
    2020-11-30 19:28

    You can apply multiple conditions in xpath using and, or

    //input[@class='_2zrpKA _1dBPDZ' and @type='text']
    
    //input[@class='_2zrpKA _1dBPDZ' or @type='text']
    

提交回复
热议问题