Interaction

Is Clickable

Check if element is clickable.

Check if element is clickable.

Determines whether an element is likely interactive by evaluating its visibility, layout dimensions, pointer interaction settings, and disabled state, then returns the result.

Examples

GPAL Fluent: High-level fluent C# API

bool isClickable = gPalElement.IsClickable;

MagicHelper: MagicHelper utility library

GPAL.MagicHelper.IsClickable(string css); GPAL.MagicHelper.IsClickable(string xpath);

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.IsClickable(string css).Execute(); browser.PuppeteerClient.IsClickable(string xpath).Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.IsClickable(string elementId, string sessionId);

REST Client: Direct REST/HTTP client

GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.IsClickable).WithCss(string css).Execute(); GPAL.OttoMagicClient.WithEndpoint(ApiEndpoint.IsClickable).WithXPath(string xpath).Execute();