You are here

public function NavigationTrait::getCurrentUrl in Zircon Profile 8.0

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

Gets the current url if any

Return value

string

File

vendor/jcalderonzumba/mink-phantomjs-driver/src/NavigationTrait.php, line 22

Class

NavigationTrait
Trait NavigationTrait @package Zumba\Mink\Driver

Namespace

Zumba\Mink\Driver

Code

public function getCurrentUrl() {
  return $this->browser
    ->currentUrl();
}