Skip to content

feat: add AI self-healing selector support using AWS Bedrock#355

Open
sr4850 wants to merge 2 commits intomainfrom
feat/self-healing-selectors
Open

feat: add AI self-healing selector support using AWS Bedrock#355
sr4850 wants to merge 2 commits intomainfrom
feat/self-healing-selectors

Conversation

@sr4850
Copy link
Copy Markdown
Contributor

@sr4850 sr4850 commented Apr 14, 2026

Adds runtime self-healing for broken Selenium selectors via AWS Bedrock
Agent (Amazon Nova Lite). When a selector fails, the system sends the
broken selector and page DOM to the AI agent which suggests a corrected
selector with confidence scoring.

  • BedrockSelectorService: async streaming client for Bedrock Agent
  • SelfHealingElementLocator: heal logic with auto-detect selector format
  • SelfHealingConfig: feature flags, Secrets Manager for agent credentials
  • Post-heal visibility fallback for hidden elements
  • Unit tests (24 passing)

Related issue: JIRA_TICKET_NUMBER

Before submitting (or marking as "ready for review")

  • Does the pull request title follow the conventional commit specification?
  • Have you performed a self-review of the code
  • Have you have added tests that prove the fix or feature is effective and working
  • Did you make sure to update any documentation relating to this change?

sr4850 and others added 2 commits April 13, 2026 13:28
Adds runtime self-healing for broken Selenium selectors via AWS Bedrock
Agent (Amazon Nova Lite). When a selector fails, the system sends the
broken selector and page DOM to the AI agent which suggests a corrected
selector with confidence scoring.

- BedrockSelectorService: async streaming client for Bedrock Agent
- SelfHealingElementLocator: heal logic with auto-detect selector format
- SelfHealingConfig: feature flags, Secrets Manager for agent credentials
- Post-heal visibility fallback for hidden elements
- Unit tests (24 passing)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Adds runtime self-healing for broken Selenium selectors via AWS Bedrock
Agent (Amazon Nova Lite). When a selector fails, the system sends the
broken selector and page DOM to the AI agent which suggests a corrected
selector with confidence scoring.

- BedrockSelectorService: async streaming client for Bedrock Agent
- SelfHealingElementLocator: heal logic with auto-detect selector format
- SelfHealingConfig: uses SecretsManager for agent credentials
- Post-heal visibility fallback for hidden elements
- Overloaded SecretsManager.getSecretValue for custom secret names
- Unit tests (24 passing)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant