You are here

public function WindowTrait::getWindowNames in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/mink-phantomjs-driver/src/WindowTrait.php \Zumba\Mink\Driver\WindowTrait::getWindowNames()

Return all the window handles currently present in phantomjs

Return value

array

File

vendor/jcalderonzumba/mink-phantomjs-driver/src/WindowTrait.php, line 24

Class

WindowTrait
Class WindowTrait @package Zumba\Mink\Driver

Namespace

Zumba\Mink\Driver

Code

public function getWindowNames() {
  return $this->browser
    ->windowHandles();
}