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

Function open

test/helper/webapi.js:851–855  ·  view source on GitHub ↗
(page, initial)

Source from the content-addressed store, hash-verified

849 ]
850
851 async function open(page, initial) {
852 const q = initial != null ? `?initial=${encodeURIComponent(initial)}` : ''
853 await I.amOnPage(`/form/richtext/${page}${q}`)
854 await I.waitForFunction(() => window.__editorReady === true, [], 30)
855 }
856
857 async function submitAndGrab() {
858 await I.click('#submit')

Callers 1

testsFunction · 0.85

Calls 2

amOnPageMethod · 0.45
waitForFunctionMethod · 0.45

Tested by

no test coverage detected