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

Breadcrumb

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

function NodeElement::getXpath

Returns XPath for handled element.

Return value

string

Overrides ElementInterface::getXpath

23 calls to NodeElement::getXpath()
NodeElement::attachFile in vendor/behat/mink/src/Element/NodeElement.php
Attach file to current node if it's a file input.
NodeElement::blur in vendor/behat/mink/src/Element/NodeElement.php
Removes focus from element.
NodeElement::check in vendor/behat/mink/src/Element/NodeElement.php
Checks current node if it's a checkbox field.
NodeElement::click in vendor/behat/mink/src/Element/NodeElement.php
Clicks current node.
NodeElement::doubleClick in vendor/behat/mink/src/Element/NodeElement.php
Double-clicks current node.

... See full list

File

vendor/behat/mink/src/Element/NodeElement.php, line 48

Class

NodeElement
Page element node.

Namespace

Behat\Mink\Element

Code

public function getXpath() {
    return $this->xpath;
}

API Navigation

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