selenium xpath路径
driver.find_element_by_xpth("//*[text()=‘北京北’]")
xpath写法:
("//*[text()=‘xxxxx’]")
js写法:
js = "$('input[id=xxx]')".removeAttr(‘readonly’)"
dirver .execute_script (js)
driver.find_element_by_xpth("//*[text()=‘北京北’]")
xpath写法:
("//*[text()=‘xxxxx’]")
js写法:
js = "$('input[id=xxx]')".removeAttr(‘readonly’)"
dirver .execute_script (js)