You are here

public function NodeElement::getTagName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Element/NodeElement.php \Behat\Mink\Element\NodeElement::getTagName()

Returns current node tag name.

The value is always returned in lowercase to allow an easy comparison.

Return value

string

1 call to NodeElement::getTagName()
NodeElement::selectOption in vendor/behat/mink/src/Element/NodeElement.php
Selects specified option for select field or specified radio button in the group.

File

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

Class

NodeElement
Page element node.

Namespace

Behat\Mink\Element

Code

public function getTagName() {
  return strtolower($this
    ->getDriver()
    ->getTagName($this
    ->getXpath()));
}