You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NEXT Biometrics receives initial purchase order of 5000 FAP20 sensors from new partner.
`
While getting anchor text from the above href link, getting the styling tag included. Is this expected for some URLs (like outliers for the general logic)
The text was updated successfully, but these errors were encountered:
It will be a great help if you can prepare a pull request with a failing test case similar to com.gargoylesoftware.htmlunit.html.HtmlAnchor2Test.asText_getTextContent()
Great, thanks.
Was simpler to understand your point based on the PR.
Have added a modified test com.gargoylesoftware.htmlunit.html.HtmlStyleTest.asText_getTextContent_insideDiv().
I think this is not a bug - the implementation works as expected (from my understanding) because getTextContent is a method inherited from org.w3c.dom.Node (see https://www.w3.org/TR/dom41/#dom-node-textcontent).
I guess for your case you have to use com.gargoylesoftware.htmlunit.html.DomNode.asText().
`
NEXT Biometrics receives initial purchase order of 5000 FAP20 sensors from new partner.
`
While getting anchor text from the above href link, getting the styling tag included. Is this expected for some URLs (like outliers for the general logic)
The text was updated successfully, but these errors were encountered: