Interaction

Fill In Overwrite

Overwrite the current field value.

Overwrite the current field value.

Updates the active text field by replacing its existing value with the specified text if the field supports text input.

Examples

GPAL Fluent: High-level fluent C# API

browser.WithSelector(selector).FillInFrom(string text)

MagicHelper: MagicHelper utility library

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

Puppeteer Client: Puppeteer-style C# client

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

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.FillInOverwrite(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.FillInOverwrite).WithCss(string css).WithText(string text).Execute(); GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.FillInOverwrite).WithXPath(string xpath).WithText(string text).Execute();