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

Function clearMarker

lib/helper/extras/richTextEditor.js:134–137  ·  view source on GitHub ↗
(helper)

Source from the content-addressed store, hash-verified

132}
133
134async function clearMarker(helper) {
135 if (helper.page) return helper.page.evaluate(unmarkAll, MARKER)
136 return helper.executeScript(unmarkAll, MARKER)
137}
138
139export async function fillRichEditor(helper, el, value) {
140 const source = el instanceof WebElement ? el : new WebElement(el, helper)

Callers 1

fillRichEditorFunction · 0.85

Calls 2

evaluateMethod · 0.80
executeScriptMethod · 0.45

Tested by

no test coverage detected