原文:自動化測試——解決Element is not clickable at point (x, x). Other element would receive the click

在使用chromedriver進行測試時,因對瀏覽器的寬和高進行了設置 , ,當欲點擊某一控件,而該控件未顯示在當前頁面的可見范圍內,需要滾動頁面至某處方可顯示時,會報WebDriverException: Message: unknown error: Element is not clickable at point x, x . Other element would receive the ...

2015-11-11 20:30 0 7211 推薦指數:

查看詳情

Other element would receive the click:解決之一

出現報錯Other element would receive the click:的原因是; 當你selenium中click()點擊事件時,所選中的標簽被外部div吸收了,因此 解決辦法就是進入里面進行點擊操作 。driver.execute_script("arguments ...

Thu May 14 23:17:00 CST 2020 0 3921
UI自動化-Element is not clickable at point-----問題記錄

在寫ui自動化用例時,遇見了一個問題,點擊元素報錯Element is not clickable at point,網上的常見處理方法有以下四種: 1.未加載完整:     等待元素加載完整,使用time.sleep或     WebDriverWait(self.driver ...

Sat Mar 23 00:08:00 CST 2019 0 871
element is not clickable at point解決辦法

錯誤Element is not clickable at point (x, y)可能源於不同因素。您可以通過以下任一過程解決它們: 1.由於存在JavaScript或AJAX調用,元素未被點擊 嘗試使用ActionsClass: 2.元素未被點擊,因為它不在視口內 嘗試使用 ...

Wed Mar 13 22:25:00 CST 2019 0 1832
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM