byTag method

  1. @override
WebDriverPageLoaderElement byTag(
  1. String tag
)
override

Finds PageLoaderElement from this source by tag.

If used with PageUtils, finds the element representing tag found from the document root. If used with PageLoaderElement, finds the element representing tag found from the PageLoaderElement as root.

Implementation

@override
WebDriverPageLoaderElement byTag(String tag) =>
    root.getElementsByCss(tag).single;