You are here

public function BrowserPageElementTrait::attribute in Zircon Profile 8.0

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

Returns the attribute of an element by name in a given page

Parameters

$pageId:

$elementId:

$name:

Return value

mixed

File

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

Class

BrowserPageElementTrait
Trait BrowserPageElementTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function attribute($pageId, $elementId, $name) {
  return $this
    ->command('attribute', $pageId, $elementId, $name);
}