[英]Selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable in ionic framework
Python script:蟒蛇脚本:
userId_box =driver.find_element_by_id("userId")
userId_box.send_keys(usr)
Inspect element:检查元素:
<ion-input class="passwordinput sc-ion-input-md-h sc-ion-input-md-s md hydrated" placeholder="User ID" id="userId" type="text" value=""><ion-icon class="eye md hydrated" role="img"></ion-icon><input class="native-input sc-ion-input-md" aria-labelledby="ion-input-0-lbl" autocapitalize="off" autocomplete="off" autocorrect="off" maxlength="3" name="ion-input-0" placeholder="User ID" type="text"></ion-input>
Error:错误:
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable selenium.common.exceptions.ElementNotInteractableException:消息:元素不可交互
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.