如图所示:去除卡号readonly限制
代码如图所示:
js = 'document.getElementById("cardNo").removeAttribute("readonly")' driver.execute_script(js)