You are here

protected function WebAssert::getCurrentUrlPath in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink/src/WebAssert.php \Behat\Mink\WebAssert::getCurrentUrlPath()

Gets current url of the page.

Return value

string

3 calls to WebAssert::getCurrentUrlPath()
WebAssert::addressEquals in vendor/behat/mink/src/WebAssert.php
Checks that current session address is equals to provided one.
WebAssert::addressMatches in vendor/behat/mink/src/WebAssert.php
Checks that current session address matches regex.
WebAssert::addressNotEquals in vendor/behat/mink/src/WebAssert.php
Checks that current session address is not equals to provided one.

File

vendor/behat/mink/src/WebAssert.php, line 735

Class

WebAssert
Mink web assertions tool.

Namespace

Behat\Mink

Code

protected function getCurrentUrlPath() {
  return $this
    ->cleanUrl($this->session
    ->getCurrentUrl());
}