Package 

Class AnchorTester

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      AnchorTester(Anchor component) Wrap given component for testing.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getHref() Gets the URL that the anchor links to.
      HasElement click() Click the anchor for navigation if target is a registered route in the application.
      • Methods inherited from class com.vaadin.flow.component.html.testbench.HtmlContainerTester

        getText
      • Methods inherited from class com.vaadin.flow.component.html.testbench.HtmlComponentTester

        getTitle
      • Methods inherited from class com.vaadin.testbench.unit.ComponentTester

        find, getComponent, isUsable, setModal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnchorTester

        AnchorTester(Anchor component)
        Wrap given component for testing.
        Parameters:
        component - target component
    • Method Detail

      • getHref

         String getHref()

        Gets the URL that the anchor links to.

      • click

         HasElement click()

        Click the anchor for navigation if target is a registered route in the application.