MCPcopy
hub / github.com/codeceptjs/CodeceptJS / _getPageUrl

Method _getPageUrl

lib/helper/Puppeteer.js:609–611  ·  view source on GitHub ↗

* Gets page URL including hash.

()

Source from the content-addressed store, hash-verified

607 * Gets page URL including hash.
608 */
609 async _getPageUrl() {
610 return this.executeScript(() => window.location.href)
611 }
612
613 /**
614 * Grab the text within the popup. If no popup is visible then it will return null

Callers 12

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