Skip to content

feat(web-integration): update text element handling to use parent node attributes and content #700

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

Closed
wants to merge 1 commit into from

Conversation

quanru
Copy link
Collaborator

@quanru quanru commented May 9, 2025

No description provided.

Copy link

netlify bot commented May 9, 2025

Deploy Preview for midscene ready!

Name Link
🔨 Latest commit bcab5e8
🔍 Latest deploy log https://app.netlify.com/sites/midscene/deploys/681ddfe143b357000882583d
😎 Deploy Preview https://deploy-preview-700--midscene.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@quanru quanru force-pushed the feat/use-text-parent-node branch from b6b17d1 to 18494c7 Compare May 9, 2025 10:18
@quanru quanru force-pushed the feat/use-text-parent-node branch from 18494c7 to bcab5e8 Compare May 9, 2025 10:58
@@ -2130,7 +2195,48 @@ exports[`extractor > basic 2`] = `
"htmlTagName": "<body>",
"nodeType": "TEXT Node",
},
"content": "phrase "The quick brown fox jumps over the lazy dog" is a well-known English-language pangram, meaning it contains every letter of the alphabet at least once. This sentence has become a standard tool for various applications, particularly in typing practice, font display, and keyboard testing. The phrase has permeated popular culture and is referenced in various media, including literature and film. Its simplicity and utility have made it a staple in educational contexts and beyond. For instance, it was famously used as the first message sent over the Moscow–Washington hotline in 19634.",
"content": "Data Record
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems abnormal. We should only collect child nodes

@yuyutaotao yuyutaotao closed this May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants