胡萝卜J

导航

 

1、先定位到元素

2、使用js去除元素的readonly属性

js = 'document.getElementById("xxx").removeAttribute("readonly");
driver.execute_script(js);

posted on 2022-11-07 14:32  胡萝卜J  阅读(47)  评论(0编辑  收藏  举报