public function BrowserPageElementTrait::setAttribute in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserPageElementTrait.php \Zumba\GastonJS\Browser\BrowserPageElementTrait::setAttribute()
Set an attribute to the given element in the given page
Parameters
$pageId:
$elementId:
$name:
$value:
Return value
mixed
Throws
\Zumba\GastonJS\Exception\BrowserError
\Exception
File
- vendor/
jcalderonzumba/ gastonjs/ src/ Browser/ BrowserPageElementTrait.php, line 141
Class
- BrowserPageElementTrait
- Trait BrowserPageElementTrait @package Zumba\GastonJS\Browser
Namespace
Zumba\GastonJS\BrowserCode
public function setAttribute($pageId, $elementId, $name, $value) {
return $this
->command('set_attribute', $pageId, $elementId, $name, $value);
}