Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DocumentElement.php

function DocumentElement::getXpath

Returns XPath for handled element.

Return value

string

Overrides ElementInterface::getXpath

File

vendor/behat/mink/src/Element/DocumentElement.php, line 25

Class

DocumentElement
Document element.

Namespace

Behat\Mink\Element

Code

public function getXpath() {
    return '//html';
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal