function 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 851
Class
- WebAssert
- Mink web assertions tool.
Namespace
Behat\MinkCode
protected function getCurrentUrlPath() {
return $this->cleanUrl($this->session
->getCurrentUrl());
}