send_start_day = self.driver.find_element(*AutoorderLocators.Send_Start_Day_Input)
self.driver.execute_script(“$(arguments[0]).removeAttr(arguments[1])”, send_start_day, “readonly”)
webdriver 执行js
最新推荐文章于 2024-09-04 14:52:42 发布
send_start_day = self.driver.find_element(*AutoorderLocators.Send_Start_Day_Input)
self.driver.execute_script(“$(arguments[0]).removeAttr(arguments[1])”, send_start_day, “readonly”)