Interaction

Set Range

Set the value of a range (slider) input.

Set the value of a range (slider) input.

Sets the value of a matched range input element to the specified integer value.

Examples

GPAL Fluent: High-level fluent C# API

browser.WithSelector(sliderSelector).SetRange(50);

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.SetRange("slider123", 50);

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.SetRange(sliderSelector).WithRangeValue(50).Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.SetRange("slider123", "50", sessionId);

REST Client: Direct REST/HTTP client

GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.SetRange).WithElementId(sliderSelector).WithValue("50").Execute();