Interaction

Fill In Insert

Insert text into the current field.

Insert text into the current field.

Updates the active text field by inserting the specified text at the current cursor position if the field supports text input.

Examples

GPAL Fluent: High-level fluent C# API

browser.WithSelector(selector).InsertFrom(string textToUse)

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.FillInInsert(string css, string text); GPAL.MagicHelper.FillInInsert(string xpath, string text);

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.FillInInsert(string css).WithText(string text).Execute(); browser.PuppeteerClient.FillInInsert(string xpath).WithText(string text).Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.FillInInsert(string objectId, string text, string sessionId);

REST Client: Direct REST/HTTP client

//Text fields are web elements specified by either CSS or XPath.

GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.FillInInsert).WithCss(string css).WithText(string text).Execute(); GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.FillInInsert).WithXPath(string xpath).WithText(string text).Execute();