Interaction

Submit Form

Submit the form containing the matched element.

Submit the form containing the matched element.

Submits the HTML form associated with the matched element.

Examples

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.SubmitForm("form123");

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.SubmitForm(formSelector).Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.SubmitForm(objectId, sessionId);

REST Client: Direct REST/HTTP client

GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.SubmitForm).WithElementId(formSelector).Execute();