-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Documentation for ElementNotInteractableException in "Troubleshooting Errors" Section #2120
base: trunk
Are you sure you want to change the base?
Add Documentation for ElementNotInteractableException in "Troubleshooting Errors" Section #2120
Conversation
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Thank you @asolntsev for your time in reviewing this PR. |
Description
This PR adds documentation for the ElementNotInteractableException under the "Troubleshooting Errors" section of the Selenium site. It provides a concise explanation of the exception, including its likely causes and actionable solutions.
Motivation and Context
The ElementNotInteractableException occurs when an element exists in the DOM but cannot be interacted with. This commonly happens due to the following reasons:
The element is hidden (not visible to the user).
The element is disabled (not interactable).
The element is obscured by another element.
By documenting this exception, we aim to provide users with clear guidance to identify and resolve such issues efficiently, improving the overall usability of Selenium.
Types of Changes
Documentation Improvement: Added a new section under "Troubleshooting Errors" for the ElementNotInteractableException.
Checklist
I have read the contributing guidelines.
I have tested the changes locally using Hugo.
I have ensured the documentation renders as expected and is consistent with other entries.
PR Type
Documentation
Description
Added documentation for
ElementNotInteractableException
in four languages: English, Japanese, Portuguese (Brazil), and Chinese (Simplified).Explained likely causes of the exception, including unsupported operations, hidden elements, and locator mismatches.
Provided actionable solutions, such as using appropriate actions, ensuring unique locators, and employing explicit waits.
Enhanced the "Troubleshooting Errors" section to improve user guidance and usability.
Changes walkthrough 📝
_index.en.md
Add `ElementNotInteractableException` section to English docs
website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.en.md
ElementNotInteractableException
._index.ja.md
Add `ElementNotInteractableException` section to Japanese docs
website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.ja.md
ElementNotInteractableException
section in Japanese._index.pt-br.md
Add `ElementNotInteractableException` section to Portuguese docs
website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.pt-br.md
ElementNotInteractableException
section in Portuguese (Brazil)._index.zh-cn.md
Add `ElementNotInteractableException` section to Chinese docs
website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.zh-cn.md
ElementNotInteractableException
section in Chinese (Simplified).