MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / _getPageUrl

Method _getPageUrl

lib/helper/Playwright.js:1147–1149  ·  view source on GitHub ↗

* Gets page URL including hash.

()

Source from the content-addressed store, hash-verified

1145 * Gets page URL including hash.
1146 */
1147 async _getPageUrl() {
1148 return this.executeScript(() => window.location.href)
1149 }
1150
1151 /**
1152 * Grab the text within the popup. If no popup is visible then it will return null

Callers 10

seeInCurrentUrlMethod · 0.95
dontSeeInCurrentUrlMethod · 0.95
seeCurrentUrlEqualsMethod · 0.95
seeCurrentPathEqualsMethod · 0.95
grabCurrentUrlMethod · 0.95
waitInUrlMethod · 0.95
waitUrlEqualsMethod · 0.95
waitCurrentPathEqualsMethod · 0.95

Calls 1

executeScriptMethod · 0.95

Tested by

no test coverage detected