Skip to content
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

fix: convert xpath with colons in element names #1038

Merged
merged 1 commit into from
Mar 16, 2025

Conversation

cloudcarver
Copy link
Contributor

If the DOM contains elements like <div:test />, the function will generate an invalid css selector like div > div:test. The correct form should be div > div\:test.

The fix should resolve this problem.

@CLAassistant
Copy link

CLAassistant commented Mar 16, 2025

CLA assistant check
All committers have signed the CLA.

@MagMueller MagMueller merged commit 96ff74c into browser-use:main Mar 16, 2025
1 check 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