You are here

public function BrowserPageElementTrait::tagName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserPageElementTrait.php \Zumba\GastonJS\Browser\BrowserPageElementTrait::tagName()

Gets the tag name of a given element and page

Parameters

$pageId:

$elementId:

Return value

string

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserPageElementTrait.php, line 95

Class

BrowserPageElementTrait
Trait BrowserPageElementTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function tagName($pageId, $elementId) {
  return strtolower($this
    ->command('tag_name', $pageId, $elementId));
}