getElement method

WebElement getElement(
  1. String elementId, [
  2. SearchContext? context,
  3. Object? locator,
  4. int? index,
])

Implementation

WebElement getElement(
  String elementId, [
  SearchContext? context,
  Object? locator,
  int? index,
]) =>
    WebElement(
      this,
      _client,
      _handler,
      elementId,
      context,
      locator,
      index,
    );