focused property

  1. @override
WebDriverPageLoaderElement get focused
override

Gets the element that currently has focus on the given page.

Implementation

@override
WebDriverPageLoaderElement get focused {
  return WebDriverPageLoaderElement.createFromElement(driver.activeElement!);
}