我不知道为什么我的CRM驱动程序没有捕获下面的HTML
元素。我试过使用绝对和相对XPath,试过使用webdriver.get_element_by_id('lastname_i')
、get_element_by_css_selector('input.lastname_i')
,还有更多的脚本编写方法。不管出于什么原因,webdriver都找不到这个元素。你知道吗
有人能帮我用正确的Python脚本吗?我认为这与我要查找的HTML元素中没有/>
有关。你知道吗
<div class="ms-crm-Inline-Edit ms-crm-Inline-HasError"><input id="lastname_i" attrname="lastname" attrpriv="create, read, update" maxlength="50" title="" class="ms-crm-InlineInput" controlmode="alwaysedit" style="ime-mode: active;" aria-invalid="true" type="text"></div>
等待
20
秒,然后尝试下面的代码。你知道吗相关问题 更多 >
编程相关推荐