Selenium+Webdriver 經常使用的元素定位方式

假設頁面源代碼以下:css <input type="text"name="wd" id="kw1" class="input_wd" maxlength="100"style="width:474px;"autocomplete="off"> 經過id定位元素:find_element_by_id(「id_vaule」):html browser=webdriver.Firefox() brow
相關文章
相關標籤/搜索