Returns a list of all anchors contained in this page. @return the list of HtmlAnchor in this page
()
| 671 | * @return the list of {@link HtmlAnchor} in this page |
| 672 | */ |
| 673 | public List<HtmlAnchor> getAnchors() { |
| 674 | return getDocumentElement().getElementsByTagNameImpl("a"); |
| 675 | } |
| 676 | |
| 677 | /** |
| 678 | * Returns the first anchor with the specified text. |