MCPcopy Create free account

hub / github.com/InverseUI/InverseUI-Recorder / functions

Functions204 in github.com/InverseUI/InverseUI-Recorder

↓ 11 callersFunctionsafeSendMessage
(message, callback)
util/communication_utils.js:6
↓ 9 callersFunctiongetRecState
()
modules/recording.js:369
↓ 6 callersFunctioncleanLabelText
* Clean label text - remove element's own value and extra whitespace
util/dom_utils.js:196
↓ 6 callersFunctionelementText
* Get element text content (from selectorUtils.ts lines 65-99)
util/playwright_selector.js:175
↓ 6 callersFunctiongetPlaywrightSelector
(element)
util/playwright_selector.js:555
↓ 6 callersFunctiongetXpaths
(element)
util/xpath_utils.js:7
↓ 4 callersMethodcheckUrlChange
()
modules/action/events/navigation.js:33
↓ 4 callersMethodcleanup
* Cleanup stale interactions
modules/action/context/dropdown.js:141
↓ 4 callersMethodenrichClick
* Enrich click data with radio/checkbox group info if detected
modules/action/context/radio.js:13
↓ 4 callersMethodescapeYaml
* Escape YAML special characters
modules/action/context/aria_snapshot.js:564
↓ 4 callersMethodfindElement
(xpath)
util/dom_utils.js:357
↓ 4 callersFunctiongetLabelForElement
(element)
util/dom_utils.js:139
↓ 4 callersFunctiontoggleRec
()
modules/recording.js:227
↓ 3 callersMethodcreateOptionInfo
* Create option info object
modules/action/context/dropdown.js:535
↓ 3 callersFunctiongetAriaRole
* Get ARIA role (explicit or implicit) - from roleUtils.ts lines 281-291
util/playwright_selector.js:152
↓ 3 callersFunctiongetElementLabels
* Get element labels (from selectorUtils.ts lines 115-131)
util/playwright_selector.js:221
↓ 3 callersMethodisElementVisible
(element)
util/dom_utils.js:485
↓ 3 callersFunctionnormalizeWhiteSpace
* Normalize whitespace in text (from stringUtils)
util/playwright_selector.js:168
↓ 3 callersMethodvisit
* Visit a node and add it to the tree
modules/action/context/aria_snapshot.js:84
↓ 2 callersFunctioncheckAuth
()
api/auth.js:41
↓ 2 callersFunctioncompareAction
(a, b)
util/action_utils.js:39
↓ 2 callersMethoddebounce
(func, wait)
modules/action/events/window.js:14
↓ 2 callersFunctionfindNearbyLabelText
* DOM traversal fallback - look for text in ancestors/siblings * High recall: will find question text even without semantic markup
util/dom_utils.js:288
↓ 2 callersMethodfindRecentTrigger
* Find the most recent input that could be a trigger for a popup * @param {DOMRect} popupRect - Bounding rect of the popup * @param {number}
modules/action/context/dropdown.js:82
↓ 2 callersMethodformatDetectionResult
* Format detection result into unified selection structure
modules/action/context/dropdown.js:641
↓ 2 callersMethodgenerateForElement
* Generate ARIA snapshot for a specific element and its context * @param {Element} targetElement - The clicked/interacted element
modules/action/context/aria_snapshot.js:24
↓ 2 callersFunctiongetActionOnlyMode
()
modules/recording.js:362
↓ 2 callersFunctiongetActions
()
modules/recording.js:376
↓ 2 callersMethodgetAriaRole
* Get ARIA role for element
modules/action/context/aria_snapshot.js:229
↓ 2 callersFunctiongetAuthHeaders
(token)
api/config.js:35
↓ 2 callersFunctiongetElementAccessibleName
* Get accessible name for element (simplified from roleUtils.ts lines 504-528)
util/playwright_selector.js:250
↓ 2 callersFunctiongetElementInfo_Custom
(element, useAttributes)
util/xpath_utils.js:42
↓ 2 callersFunctiongetElementString
(element, useAttributes)
util/xpath_utils.js:91
↓ 2 callersFunctiongetImplicitAriaRole
* Get implicit ARIA role from element (from roleUtils.ts line 242-260)
util/playwright_selector.js:143
↓ 2 callersMethodgetOptionText
* Get the option text (e.g., "Yes", "No") - the label for this specific option
modules/action/context/radio.js:63
↓ 2 callersFunctiongetTokenFromCookie
* Get auth token from cookies * @returns {Promise<string|null>}
api/auth.js:8
↓ 2 callersFunctionhasExplicitAccessibleName
(e)
util/playwright_selector.js:128
↓ 2 callersFunctionisInverseUIWebsite
(hostname)
api/config.js:30
↓ 2 callersMethodlooksLikeOption
* Check if element looks like a selectable option
modules/action/context/dropdown.js:423
↓ 2 callersMethodnormalizeWhitespace
* Normalize whitespace
modules/action/context/aria_snapshot.js:470
↓ 2 callersFunctionpushAction
(action)
modules/recording.js:288
↓ 2 callersMethodrecordInput
* Record an input event (call this from input_actions.js)
modules/action/context/dropdown.js:587
↓ 2 callersMethodsendMessageAsync
* Promise version of sendMessage for async/await usage
modules/action/events/click.js:63
↓ 2 callersMethodsetDropdownDetector
* Set the dropdown detector for recording input interactions
modules/action/events/input.js:17
↓ 1 callersMethodanalyzeClick
* Analyze a click to determine if it's a dropdown option selection * This is the main entry point - called on every click
modules/action/context/dropdown.js:306
↓ 1 callersMethodassertElement
(xpath, assertion)
util/dom_utils.js:374
↓ 1 callersFunctionbuildCandidates
* Build selector candidates (ported from buildNoTextCandidates and buildTextCandidates)
util/playwright_selector.js:410
↓ 1 callersFunctionbuildPath
(element, useAttributes)
util/xpath_utils.js:122
↓ 1 callersFunctioncaptureComprehensiveAuthData
(trackingLog)
util/session_utils.js:55
↓ 1 callersFunctioncaptureInitialState
(tabId)
modules/recording.js:21
↓ 1 callersFunctioncaptureSessionData
()
util/session_utils.js:7
↓ 1 callersMethodcleanup
* Cleanup - call periodically or on page unload
modules/action/context/dropdown.js:699
↓ 1 callersMethodclear
* Clear all state
modules/action/context/dropdown.js:706
↓ 1 callersFunctionclearActions
()
modules/recording.js:383
↓ 1 callersFunctioncountMatchingElements
* Count how many elements on the page match a given selector candidate * Used to check if a selector is unique
util/playwright_selector.js:297
↓ 1 callersFunctioncreateInitialActions
(initialState, currentTab)
modules/recording.js:47
↓ 1 callersMethoddetectARIAOption
* Detect if clicked element is an ARIA option * Returns full context if found, null otherwise
modules/action/context/dropdown.js:174
↓ 1 callersFunctiondetectAuthMethod
(sessionData)
util/session_utils.js:149
↓ 1 callersMethoddetectChoiceGroup
* Detect if clicked element is part of a choice group (Yes/No, etc.)
modules/action/context/choice.js:23
↓ 1 callersMethoddetectRadioGroup
* Detect radio/checkbox group info
modules/action/context/radio.js:27
↓ 1 callersMethodextractAriaStates
* Extract ARIA states
modules/action/context/aria_snapshot.js:362
↓ 1 callersMethodextractOptions
* Extract all options from a listbox
modules/action/context/dropdown.js:274
↓ 1 callersMethodextractOptions
* Extract all option-like elements from popup
modules/action/context/dropdown.js:453
↓ 1 callersMethodfindAncestorPopup
* Find ancestor that looks like a popup container
modules/action/context/dropdown.js:352
↓ 1 callersMethodfindAssociatedFileInput
* Find associated file input when clicking upload buttons/wrappers
modules/action/context/file_upload.js:11
↓ 1 callersMethodfindChoiceContainer
* Find the container that holds all choice buttons
modules/action/context/choice.js:75
↓ 1 callersMethodfindContextContainer
* Find the container that provides context (question text, options, etc.)
modules/action/context/aria_snapshot.js:61
↓ 1 callersMethodfindOptionCandidates
* Find option candidates using heuristics
modules/action/context/dropdown.js:491
↓ 1 callersMethodfindParentListbox
* Find parent listbox/menu container
modules/action/context/dropdown.js:238
↓ 1 callersMethodfindPrecedingQuestion
* Find question text that precedes the choice container
modules/action/context/choice.js:148
↓ 1 callersMethodfindQuestionContext
* Find the question text associated with the choice group * Uses multiple strategies to find the label/question
modules/action/context/choice.js:116
↓ 1 callersFunctionfindQuestionElementInContainer
* Find question element within a container
util/dom_utils.js:260
↓ 1 callersFunctionfindQuestionText
* Hybrid question text extraction for radio/checkbox * Step 1: Class-based heuristics (preferred - more precise) * Step 2: DOM traversal fallback (h
util/dom_utils.js:217
↓ 1 callersMethodfindSiblingChoices
* Find sibling choice buttons in container
modules/action/context/choice.js:104
↓ 1 callersMethodfindTriggerForListbox
* Find the trigger element that controls a listbox
modules/action/context/dropdown.js:246
↓ 1 callersFunctionfixXpathDoubleQuoteIssues
(xpathString)
util/action_utils.js:120
↓ 1 callersMethodgenerateParamName
* Generate parameter name from question text * "Will you require sponsorship?" → "REQUIRE_SPONSORSHIP"
modules/action/context/choice.js:187
↓ 1 callersMethodgenerateParamName
* Generate parameter name from question text
modules/action/context/radio.js:101
↓ 1 callersMethodgenerateParamName
* Generate parameter name from question text
modules/action/context/dropdown.js:662
↓ 1 callersMethodgenerateParamName
* Generate parameter name from question text
modules/action/events/click.js:278
↓ 1 callersMethodgetAccessibleName
* Get accessible name for element
modules/action/context/aria_snapshot.js:293
↓ 1 callersFunctiongetAuthToken
()
api/auth.js:86
↓ 1 callersFunctiongetElementInfo_Moz
(element)
util/xpath_utils.js:151
↓ 1 callersMethodgetElementProperties
(xpath)
util/dom_utils.js:535
↓ 1 callersMethodgetElementValue
(xpath)
util/dom_utils.js:501
↓ 1 callersFunctiongetExplicitAriaRole
* Get explicit ARIA role from element (from roleUtils.ts line 270-274)
util/playwright_selector.js:135
↓ 1 callersMethodgetInputRole
* Get role for input element
modules/action/context/aria_snapshot.js:270
↓ 1 callersMethodgetOptionInfo
* Get info for the clicked option
modules/action/context/dropdown.js:554
↓ 1 callersFunctiongetSiblingInfo
(element, useAttributes)
util/xpath_utils.js:43
↓ 1 callersFunctionhandleUploadError
* Handle upload errors with fallback to local download * @param {Array} trackingLog - Array of recorded actions * @param {number} popupWindowId - ID
api/track_uploader.js:154
↓ 1 callersFunctionhandleUserActionMessage
* Handle user action messages from content scripts
background.js:167
↓ 1 callersMethodinit
()
modules/action/index.js:34
↓ 1 callersMethodinit
()
modules/action/events/navigation.js:9
↓ 1 callersFunctioninitAPIInjection
()
inject/api_injection.js:38
↓ 1 callersFunctioninitBackgroundCommunication
(onRecordingStateChange)
util/communication_utils.js:67
↓ 1 callersFunctioninitPageCommunication
()
util/communication_utils.js:29
↓ 1 callersFunctioninitializeActionTracking
(sendMessage, getXpaths)
modules/action/index.js:76
↓ 1 callersFunctioninitializeChoiceDetection
(getXpaths)
modules/action/context/choice.js:199
↓ 1 callersFunctioninitializeContentScript
()
content.js:18
↓ 1 callersFunctioninitializeDropdownDetection
(sendMessage, getXpaths)
modules/action/context/dropdown.js:718
next →1–100 of 204, ranked by callers