Kind: Function
Source: atloria-monorepo/libs/parser-core/src/utils/ui-interaction-detector.ts
Link UI interactions to screenshots
Takes a screenshot URL and a list of interactions, and determines which interactions are available on that screenshot based on the current state detected from the URL.
Signature
tsfunction linkInteractionsToScreenshot(_screenshotUrl: string, interactions: UIInteraction[], currentState: string): UIInteraction[]
Parameters
| Name | Type |
|---|---|
_screenshotUrl | string |
interactions | UIInteraction[] |
currentState | string |
Returns: UIInteraction[]
Was this page helpful?