📜  如何在 xpath selenium python 代码示例中搜索多个属性

📅  最后修改于: 2022-03-11 14:45:50.691000             🧑  作者: Mango

代码示例1
//*[@attribute_name1='attribute_value1'][@attribute_name2='attribute_value2]  
"""
for example:
    # This One Is A Youtube Video Clicking Xpath But It's Just An Example
    //button[@class="ytp-fullscreen-button ytp-button"][@title="Full screen (f)"]
"""