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

Method seeInTitle

lib/helper/Puppeteer.js:944–947  ·  view source on GitHub ↗

* {{> seeInTitle }}

(text)

Source from the content-addressed store, hash-verified

942 * {{> seeInTitle }}
943 */
944 async seeInTitle(text) {
945 const title = await this.page.title()
946 stringIncludes('web page title').assert(text, title)
947 }
948
949 /**
950 * {{> grabPageScrollPosition }}

Callers 4

testsFunction · 0.45

Calls 2

titleMethod · 0.80
assertMethod · 0.80

Tested by

no test coverage detected