-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[js] Ensure parity in the locators used by methods #13902
Conversation
PR Description updated to latest commit (bf4a4de)
|
PR Review
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Replaced locators and added error handling in this PR.
Motivation and Context
Ensure all select class methods have parity amongst all languages implementations.
Types of changes
Checklist
Type
Bug fix, Enhancement
Description
<select>
element.selectByValue
andselectByText
methods to improve reliability.selectByText
method, enhancing readability and performance.selectByValue
, enhancing robustness.Changes walkthrough
select.js
Enhance Select Class with Error Handling and XPath Selectors
javascript/node/selenium-webdriver/lib/select.js
option is null.
text.
selectByText
method.
the specified value.