Skip to content

Conversation

@mdshakib007
Copy link
Collaborator

PR Type

Feature

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made.
  • Version number has been updated.
  • Required modules have been added to respective "requirements*.txt" files.
  • Relevant Test Cases added to this description (below).
  • (Team) Label with affected action categories and semver status.

Overview

This PR improves the shadow_root_elements function with the following enhancements:

  • Nested Shadow DOM Traversal: Enables access to multiple levels of shadow roots, allowing deeper element queries.
  • Parent-Based Selection Support: Adds the ability to define and use parent elements for more accurate targeting within shadow roots.
  • Validation Improvements: Includes robust parameter format checks and index duplication detection.
  • Logging Enhancements: Adds detailed logs for traceability of queries and shadow root access.
  • Regex For SR: Adds regex for the SR element passing.

@Muntasib-creator Muntasib-creator merged commit ce7d274 into dev May 29, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants