You are here

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

Checks if an element is visible or not

Parameters

$pageId:

$elementId:

Return value

boolean

1 method overrides BrowserPageElementTrait::isVisible()
Browser::isVisible in vendor/jcalderonzumba/gastonjs/src/Browser/Browser.php
Tells whether an element on a page is visible or not

File

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

Class

BrowserPageElementTrait
Trait BrowserPageElementTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function isVisible($pageId, $elementId) {
  return $this
    ->command("visible", $pageId, $elementId);
}