Skip to content

Commit 816210a

Browse files
authored
Added ElementNotVisibleException to Error Documentation (#1971)
Added ElementNotVisibleException
1 parent 477248d commit 816210a

File tree

4 files changed

+65
-0
lines changed

4 files changed

+65
-0
lines changed

website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.en.md

+16
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,19 @@ This exception occurs when Selenium tries to interact with an element that is no
179179
2. Ensure locators uniquely identify the intended element to avoid incorrect matches.
180180
3. Check if the element is visible on the page before interacting with it. Use scrolling to bring the element into view, if required.
181181
4. Use explicit waits to ensure the element is interactable before performing actions.
182+
183+
## ElementNotVisibleException
184+
185+
This exception is thrown when the element you are trying to interact with _is_ present in the DOM, but is not visible.
186+
187+
### Likely Cause
188+
189+
This can occur in several situations:
190+
* Another element is blocking your intended element
191+
* The element is disabled/invisible to the user
192+
193+
### Possible Solutions
194+
195+
This issue cannot always be resolved on the user's end, however when it can it is usually solved by the following:
196+
using an explicit wait, or interacting with the page in such a way to make the element visible
197+
(scrolling, clicking a button, etc.)

website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.ja.md

+17
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,20 @@ This exception occurs when Selenium tries to interact with an element that is no
175175
2. Ensure locators uniquely identify the intended element to avoid incorrect matches.
176176
3. Check if the element is visible on the page before interacting with it. Use scrolling to bring the element into view, if required.
177177
4. Use explicit waits to ensure the element is interactable before performing actions.
178+
179+
## ElementNotVisibleException
180+
181+
This exception is thrown when the element you are trying to interact with _is_ present in the DOM, but is not visible.
182+
183+
### Likely Cause
184+
185+
This can occur in several situations:
186+
* Another element is blocking your intended element
187+
* The element is disabled/invisible to the user
188+
189+
### Possible Solutions
190+
191+
This issue cannot always be resolved on the user's end, however when it can it is usually solved by the following:
192+
using an explicit wait, or interacting with the page in such a way to make the element visible
193+
(scrolling, clicking a button, etc.)
194+

website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.pt-br.md

+16
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,19 @@ This exception occurs when Selenium tries to interact with an element that is no
175175
2. Ensure locators uniquely identify the intended element to avoid incorrect matches.
176176
3. Check if the element is visible on the page before interacting with it. Use scrolling to bring the element into view, if required.
177177
4. Use explicit waits to ensure the element is interactable before performing actions.
178+
179+
## ElementNotVisibleException
180+
181+
This exception is thrown when the element you are trying to interact with _is_ present in the DOM, but is not visible.
182+
183+
### Likely Cause
184+
185+
This can occur in several situations:
186+
* Another element is blocking your intended element
187+
* The element is disabled/invisible to the user
188+
189+
### Possible Solutions
190+
191+
This issue cannot always be resolved on the user's end, however when it can it is usually solved by the following:
192+
using an explicit wait, or interacting with the page in such a way to make the element visible
193+
(scrolling, clicking a button, etc.)

website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.zh-cn.md

+16
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,19 @@ Actions class with `Actions.moveToElement(element)`.
178178
2. 确保定位器唯一标识目标元素,以避免错误匹配。
179179
3. 在与元素交互之前,检查其是否在页面上可见。如果需要,将元素滚动到视图中。
180180
4. 使用显式等待以确保元素在执行操作前可交互。
181+
182+
## ElementNotVisibleException
183+
184+
This exception is thrown when the element you are trying to interact with _is_ present in the DOM, but is not visible.
185+
186+
### Likely Cause
187+
188+
This can occur in several situations:
189+
* Another element is blocking your intended element
190+
* The element is disabled/invisible to the user
191+
192+
### Possible Solutions
193+
194+
This issue cannot always be resolved on the user's end, however when it can it is usually solved by the following:
195+
using an explicit wait, or interacting with the page in such a way to make the element visible
196+
(scrolling, clicking a button, etc.)

0 commit comments

Comments
 (0)