Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InverseUI/InverseUI-Recorder
/ functions
Functions
204 in github.com/InverseUI/InverseUI-Recorder
⨍
Functions
204
◇
Types & classes
30
↓ 11 callers
Function
safeSendMessage
(message, callback)
util/communication_utils.js:6
↓ 9 callers
Function
getRecState
()
modules/recording.js:369
↓ 6 callers
Function
cleanLabelText
* Clean label text - remove element's own value and extra whitespace
util/dom_utils.js:196
↓ 6 callers
Function
elementText
* Get element text content (from selectorUtils.ts lines 65-99)
util/playwright_selector.js:175
↓ 6 callers
Function
getPlaywrightSelector
(element)
util/playwright_selector.js:555
↓ 6 callers
Function
getXpaths
(element)
util/xpath_utils.js:7
↓ 4 callers
Method
checkUrlChange
()
modules/action/events/navigation.js:33
↓ 4 callers
Method
cleanup
* Cleanup stale interactions
modules/action/context/dropdown.js:141
↓ 4 callers
Method
enrichClick
* Enrich click data with radio/checkbox group info if detected
modules/action/context/radio.js:13
↓ 4 callers
Method
escapeYaml
* Escape YAML special characters
modules/action/context/aria_snapshot.js:564
↓ 4 callers
Method
findElement
(xpath)
util/dom_utils.js:357
↓ 4 callers
Function
getLabelForElement
(element)
util/dom_utils.js:139
↓ 4 callers
Function
toggleRec
()
modules/recording.js:227
↓ 3 callers
Method
createOptionInfo
* Create option info object
modules/action/context/dropdown.js:535
↓ 3 callers
Function
getAriaRole
* Get ARIA role (explicit or implicit) - from roleUtils.ts lines 281-291
util/playwright_selector.js:152
↓ 3 callers
Function
getElementLabels
* Get element labels (from selectorUtils.ts lines 115-131)
util/playwright_selector.js:221
↓ 3 callers
Method
isElementVisible
(element)
util/dom_utils.js:485
↓ 3 callers
Function
normalizeWhiteSpace
* Normalize whitespace in text (from stringUtils)
util/playwright_selector.js:168
↓ 3 callers
Method
visit
* Visit a node and add it to the tree
modules/action/context/aria_snapshot.js:84
↓ 2 callers
Function
checkAuth
()
api/auth.js:41
↓ 2 callers
Function
compareAction
(a, b)
util/action_utils.js:39
↓ 2 callers
Method
debounce
(func, wait)
modules/action/events/window.js:14
↓ 2 callers
Function
findNearbyLabelText
* 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 callers
Method
findRecentTrigger
* 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 callers
Method
formatDetectionResult
* Format detection result into unified selection structure
modules/action/context/dropdown.js:641
↓ 2 callers
Method
generateForElement
* 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 callers
Function
getActionOnlyMode
()
modules/recording.js:362
↓ 2 callers
Function
getActions
()
modules/recording.js:376
↓ 2 callers
Method
getAriaRole
* Get ARIA role for element
modules/action/context/aria_snapshot.js:229
↓ 2 callers
Function
getAuthHeaders
(token)
api/config.js:35
↓ 2 callers
Function
getElementAccessibleName
* Get accessible name for element (simplified from roleUtils.ts lines 504-528)
util/playwright_selector.js:250
↓ 2 callers
Function
getElementInfo_Custom
(element, useAttributes)
util/xpath_utils.js:42
↓ 2 callers
Function
getElementString
(element, useAttributes)
util/xpath_utils.js:91
↓ 2 callers
Function
getImplicitAriaRole
* Get implicit ARIA role from element (from roleUtils.ts line 242-260)
util/playwright_selector.js:143
↓ 2 callers
Method
getOptionText
* Get the option text (e.g., "Yes", "No") - the label for this specific option
modules/action/context/radio.js:63
↓ 2 callers
Function
getTokenFromCookie
* Get auth token from cookies * @returns {Promise<string|null>}
api/auth.js:8
↓ 2 callers
Function
hasExplicitAccessibleName
(e)
util/playwright_selector.js:128
↓ 2 callers
Function
isInverseUIWebsite
(hostname)
api/config.js:30
↓ 2 callers
Method
looksLikeOption
* Check if element looks like a selectable option
modules/action/context/dropdown.js:423
↓ 2 callers
Method
normalizeWhitespace
* Normalize whitespace
modules/action/context/aria_snapshot.js:470
↓ 2 callers
Function
pushAction
(action)
modules/recording.js:288
↓ 2 callers
Method
recordInput
* Record an input event (call this from input_actions.js)
modules/action/context/dropdown.js:587
↓ 2 callers
Method
sendMessageAsync
* Promise version of sendMessage for async/await usage
modules/action/events/click.js:63
↓ 2 callers
Method
setDropdownDetector
* Set the dropdown detector for recording input interactions
modules/action/events/input.js:17
↓ 1 callers
Method
analyzeClick
* 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 callers
Method
assertElement
(xpath, assertion)
util/dom_utils.js:374
↓ 1 callers
Function
buildCandidates
* Build selector candidates (ported from buildNoTextCandidates and buildTextCandidates)
util/playwright_selector.js:410
↓ 1 callers
Function
buildPath
(element, useAttributes)
util/xpath_utils.js:122
↓ 1 callers
Function
captureComprehensiveAuthData
(trackingLog)
util/session_utils.js:55
↓ 1 callers
Function
captureInitialState
(tabId)
modules/recording.js:21
↓ 1 callers
Function
captureSessionData
()
util/session_utils.js:7
↓ 1 callers
Method
cleanup
* Cleanup - call periodically or on page unload
modules/action/context/dropdown.js:699
↓ 1 callers
Method
clear
* Clear all state
modules/action/context/dropdown.js:706
↓ 1 callers
Function
clearActions
()
modules/recording.js:383
↓ 1 callers
Function
countMatchingElements
* 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 callers
Function
createInitialActions
(initialState, currentTab)
modules/recording.js:47
↓ 1 callers
Method
detectARIAOption
* Detect if clicked element is an ARIA option * Returns full context if found, null otherwise
modules/action/context/dropdown.js:174
↓ 1 callers
Function
detectAuthMethod
(sessionData)
util/session_utils.js:149
↓ 1 callers
Method
detectChoiceGroup
* Detect if clicked element is part of a choice group (Yes/No, etc.)
modules/action/context/choice.js:23
↓ 1 callers
Method
detectRadioGroup
* Detect radio/checkbox group info
modules/action/context/radio.js:27
↓ 1 callers
Method
extractAriaStates
* Extract ARIA states
modules/action/context/aria_snapshot.js:362
↓ 1 callers
Method
extractOptions
* Extract all options from a listbox
modules/action/context/dropdown.js:274
↓ 1 callers
Method
extractOptions
* Extract all option-like elements from popup
modules/action/context/dropdown.js:453
↓ 1 callers
Method
findAncestorPopup
* Find ancestor that looks like a popup container
modules/action/context/dropdown.js:352
↓ 1 callers
Method
findAssociatedFileInput
* Find associated file input when clicking upload buttons/wrappers
modules/action/context/file_upload.js:11
↓ 1 callers
Method
findChoiceContainer
* Find the container that holds all choice buttons
modules/action/context/choice.js:75
↓ 1 callers
Method
findContextContainer
* Find the container that provides context (question text, options, etc.)
modules/action/context/aria_snapshot.js:61
↓ 1 callers
Method
findOptionCandidates
* Find option candidates using heuristics
modules/action/context/dropdown.js:491
↓ 1 callers
Method
findParentListbox
* Find parent listbox/menu container
modules/action/context/dropdown.js:238
↓ 1 callers
Method
findPrecedingQuestion
* Find question text that precedes the choice container
modules/action/context/choice.js:148
↓ 1 callers
Method
findQuestionContext
* Find the question text associated with the choice group * Uses multiple strategies to find the label/question
modules/action/context/choice.js:116
↓ 1 callers
Function
findQuestionElementInContainer
* Find question element within a container
util/dom_utils.js:260
↓ 1 callers
Function
findQuestionText
* 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 callers
Method
findSiblingChoices
* Find sibling choice buttons in container
modules/action/context/choice.js:104
↓ 1 callers
Method
findTriggerForListbox
* Find the trigger element that controls a listbox
modules/action/context/dropdown.js:246
↓ 1 callers
Function
fixXpathDoubleQuoteIssues
(xpathString)
util/action_utils.js:120
↓ 1 callers
Method
generateParamName
* Generate parameter name from question text * "Will you require sponsorship?" → "REQUIRE_SPONSORSHIP"
modules/action/context/choice.js:187
↓ 1 callers
Method
generateParamName
* Generate parameter name from question text
modules/action/context/radio.js:101
↓ 1 callers
Method
generateParamName
* Generate parameter name from question text
modules/action/context/dropdown.js:662
↓ 1 callers
Method
generateParamName
* Generate parameter name from question text
modules/action/events/click.js:278
↓ 1 callers
Method
getAccessibleName
* Get accessible name for element
modules/action/context/aria_snapshot.js:293
↓ 1 callers
Function
getAuthToken
()
api/auth.js:86
↓ 1 callers
Function
getElementInfo_Moz
(element)
util/xpath_utils.js:151
↓ 1 callers
Method
getElementProperties
(xpath)
util/dom_utils.js:535
↓ 1 callers
Method
getElementValue
(xpath)
util/dom_utils.js:501
↓ 1 callers
Function
getExplicitAriaRole
* Get explicit ARIA role from element (from roleUtils.ts line 270-274)
util/playwright_selector.js:135
↓ 1 callers
Method
getInputRole
* Get role for input element
modules/action/context/aria_snapshot.js:270
↓ 1 callers
Method
getOptionInfo
* Get info for the clicked option
modules/action/context/dropdown.js:554
↓ 1 callers
Function
getSiblingInfo
(element, useAttributes)
util/xpath_utils.js:43
↓ 1 callers
Function
handleUploadError
* 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 callers
Function
handleUserActionMessage
* Handle user action messages from content scripts
background.js:167
↓ 1 callers
Method
init
()
modules/action/index.js:34
↓ 1 callers
Method
init
()
modules/action/events/navigation.js:9
↓ 1 callers
Function
initAPIInjection
()
inject/api_injection.js:38
↓ 1 callers
Function
initBackgroundCommunication
(onRecordingStateChange)
util/communication_utils.js:67
↓ 1 callers
Function
initPageCommunication
()
util/communication_utils.js:29
↓ 1 callers
Function
initializeActionTracking
(sendMessage, getXpaths)
modules/action/index.js:76
↓ 1 callers
Function
initializeChoiceDetection
(getXpaths)
modules/action/context/choice.js:199
↓ 1 callers
Function
initializeContentScript
()
content.js:18
↓ 1 callers
Function
initializeDropdownDetection
(sendMessage, getXpaths)
modules/action/context/dropdown.js:718
next →
1–100 of 204, ranked by callers