selenium xpath根据文本内容查找元素 2022-07-13 本文已影响0人 写代码的杰西 <span>服装管理</span> driver.find_element('xpath',"//*[text()='服装管理']")