question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] DOMNode auto-generates tags from browser.html

See original GitHub issue

When 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:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mementumcommented, Sep 5, 2017

Hint found and typo corrected.

0reactions
PierreQuentelcommented, Sep 5, 2017

Ok, that’s more clear to me, I have merged the PR. Thanks !

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found