[js] add ErrorCode for DetachedShadowRootError#15455
[js] add ErrorCode for DetachedShadowRootError#15455pujagani merged 7 commits intoSeleniumHQ:trunkfrom
DetachedShadowRootError#15455Conversation
This reverts commit f17dd08dd32998a310510f0abc44e5b484202a4d.
This reverts commit cc16e3f. oops
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
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.
Add ErrorCode for
DetachedShadowRootErrorMotivation and Context
Fixes #13580
Types of changes
Checklist
PR Type
Bug fix
Description
Added a new error code
DETACHED_SHADOW_ROOTtoErrorCode.Mapped
DETACHED_SHADOW_ROOTtoDetachedShadowRootErrorin error handling.Enhanced error handling for detached shadow root scenarios.
Changes walkthrough 📝
error.js
Introduced `DETACHED_SHADOW_ROOT` error code and mappingjavascript/node/selenium-webdriver/lib/error.js
DETACHED_SHADOW_ROOTwith code 65 toErrorCode.DETACHED_SHADOW_ROOTtoDetachedShadowRootErrorinLEGACY_ERROR_CODE_TO_TYPE.