0
當我點擊硒這個按鈕,我得到一個錯誤,告訴我:使用Selenium的點擊按鈕的Python
Element is not clickable at point(245, 19)
按鈕元素
input type="submit" id="login_submit" name="login_submit" class="red-button" value="Login"
我已經嘗試了幾種方法,
driver.find_element_by_id("login_submit");
和
driver.find_element_by_xpath('//input[@type="submit" and @name="login_submit"]');
我使用Firefox作爲驅動
有一件事是奇怪這個是它實際上會工作一次,然後停止後的工作由於某種原因(通常是在重新啓動後它的作品),我不知道這個的原因。
如果用指針突出顯示按鈕的圖像,不知道它是否重要。
謝謝你可以給的任何幫助
謝謝,它似乎有信息,我只是最大化頁面(當我加載它時,按鈕離開頁面) – Deag