[Feature] DOMNode auto-generates tags from browser.html
See original GitHub issueWhen one is doing something like:
nodes = node.get(selector='h1')
The returned nodes are instances of DOMNode
. But the tags have actually been created (in most cases) using the classes in browser.html
.
With pull request #665, DOMNode
will try to wrap the elements in one of the tags (classes) available in browser.html.tags
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
DOM tree - The Modern JavaScript Tutorial
HTML ▾ HEAD ▾ BODY #text Hello. While generating the DOM, browsers automatically process errors in the document, close tags and so on....
Read more >Creating a new DOM element from an HTML string using built ...
Note: most current browsers support HTML <template> elements, which provide a more reliable way of turning creating elements from strings.
Read more >Get started with viewing and changing the DOM
Complete these interactive tutorials to learn the basics of viewing and changing a page's DOM using Chrome DevTools.
Read more >How To Access Elements in the DOM - DigitalOcean
In this tutorial, we went over 5 ways to access HTML elements in the DOM — by ID, by class, by HTML tag...
Read more >JavaScript HTML DOM Elements (Nodes) - W3Schools
To add a new element to the HTML DOM, you must create the element (element node) first, and then append it to an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hint found and typo corrected.
Ok, that’s more clear to me, I have merged the PR. Thanks !