You are here

public function BrowserPageElementTrait::visibleText 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::visibleText()

Returns ONLY the visible text of a given page and element

Parameters

$pageId:

$elementId:

Return value

mixed

File

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

Class

BrowserPageElementTrait
Trait BrowserPageElementTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

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