MCPcopy Create free account
hub / github.com/Effect-TS/effect / submit

Method submit

packages/effect/src/ui/html/testing/HtmlScene.ts:242–242  ·  view source on GitHub ↗

* Submits the form `locator` matches, or the one the matched element is * in, as pressing Enter in it would: `submit` goes to the form with the * fields read from the view. No button counts as the submitter.

(locator: Locator.Locator)

Source from the content-addressed store, hash-verified

240 * fields read from the view. No button counts as the submitter.
241 */
242 submit(locator: Locator.Locator): this
243 /** Sends `focus` as the keyboard would, with `focusVisible` true. */
244 focus(locator: Locator.Locator): this
245 /** Sends `blur`. */

Callers 15

Utils.test.tsFile · 0.65
interactionsForFunction · 0.65
Validation.test.tsFile · 0.65
shownFunction · 0.65
HtmlScene.test.tsFile · 0.65
submitMethod · 0.65
handleFunction · 0.65
30_scene.tsFile · 0.65

Calls

no outgoing calls

Tested by 2

interactionsForFunction · 0.52
shownFunction · 0.52