MCPcopy Create free account

hub / github.com/appium/appium-inspector / functions

Functions953 in github.com/appium/appium-inspector

↓ 3 callersFunctiontoTrimmedString
* Trim whitespace from a string value, * otherwise return an empty string * * @param {*} value input value * @returns {string} trimmed string
app/common/renderer/utils/locator-generation/simple.js:70
↓ 3 callersFunctiontransformInnerCommandsMap
* Filter and transform a given map of command paths/methods/details. * * @param {Object} pathsToCmdsMap map of command paths to their HTTP methods a
app/common/renderer/utils/commands-tab.js:101
↓ 3 callersFunctionunselectElement
()
app/common/renderer/actions/SessionInspector.js:172
↓ 2 callersMethod_buildSemiUniqueXPath
* Build a semi-unique XPath with an index qualifier * * @param {string} xpath - the base XPath expression * @param {number} index - the index
app/common/renderer/utils/locator-generation/xpath.js:170
↓ 2 callersMethod_getHierarchyChildren
* Get the hierarchy children from the document * * @returns {Node[]} array of hierarchy children
app/common/renderer/utils/locator-generation/uiautomator.js:77
↓ 2 callersMethodaddComment
(comment)
app/common/renderer/lib/client-frameworks/ruby.js:45
↓ 2 callersFunctionadjustParamValueType
(value)
app/common/renderer/utils/commands-tab.js:12
↓ 2 callersFunctionbuildSessionWindow
(backgroundColor)
app/electron/main/windows.js:35
↓ 2 callersFunctioncalcDiff
(v1, v2)
app/common/renderer/components/SessionInspector/GesturesTab/GestureEditor.jsx:209
↓ 2 callersFunctioncalcLength
(v1, v2)
app/common/renderer/components/SessionInspector/GesturesTab/GestureEditor.jsx:208
↓ 2 callersFunctioncenterPoint
(v1, v2)
app/common/renderer/components/SessionInspector/Screenshot/HighlighterRects.jsx:72
↓ 2 callersFunctionclearCurrentCommand
()
app/common/renderer/components/SessionInspector/CommandsTab/Commands.jsx:106
↓ 2 callersFunctionclearSearchResults
()
app/common/renderer/actions/SessionInspector.js:636
↓ 2 callersFunctioncloseCommandModal
()
app/common/renderer/components/SessionInspector/CommandsTab/CommandResultModal.jsx:210
↓ 2 callersFunctionconvertCoordinates
(pointers)
app/common/renderer/components/SessionInspector/GesturesTab/SavedGestures.jsx:93
↓ 2 callersFunctiondisplayGesture
(showGesture)
app/common/renderer/actions/SessionInspector.js:1017
↓ 2 callersFunctiondoesDocumentExist
* Convenience check for whether the document node exists * * @param {Document | undefined} node document node * @returns {boolean}
app/common/renderer/utils/locator-generation/simple.js:80
↓ 2 callersMethodexecuteBase
(cmd, script, args)
app/common/renderer/lib/appium/session-driver.js:68
↓ 2 callersFunctionfetchSessionInformation
({url, headers, ...params})
app/common/renderer/utils/attaching-to-session.js:83
↓ 2 callersFunctionfindAndAssign
(strategy, selector, variableName, isArray)
app/common/renderer/actions/SessionInspector.js:488
↓ 2 callersFunctionfindJSONElementByPath
(path, sourceJSON)
app/common/renderer/utils/source-parsing.js:45
↓ 2 callersMethodgenerate
* Get an optimal class chain for a Node * * @returns {string|null}
app/common/renderer/utils/locator-generation/class-chain.js:30
↓ 2 callersMethodgenerate
* Get an optimal XPath for a Node * * @returns {string|null}
app/common/renderer/utils/locator-generation/xpath.js:46
↓ 2 callersMethodget
(key)
app/electron/renderer/polyfills.js:17
↓ 2 callersMethodgetBoilerplateParams
()
app/common/renderer/lib/client-frameworks/java-common.js:25
↓ 2 callersFunctiongetCapsObject
(caps)
app/common/renderer/actions/SessionBuilder.js:109
↓ 2 callersFunctiongetCentroidPos
(type, angle, coord)
app/common/renderer/components/SessionInspector/Screenshot/HighlighterCentroid.jsx:8
↓ 2 callersFunctiongetCode
()
app/common/renderer/components/SessionInspector/RecorderTab/Recorder.jsx:19
↓ 2 callersFunctiongetCode
()
app/common/renderer/components/SessionInspector/SessionInfoTab/SessionCodeBox.jsx:17
↓ 2 callersMethodgetCodeString
(includeBoilerplate = false)
app/common/renderer/lib/client-frameworks/common.js:45
↓ 2 callersFunctiongetGestureByID
(savedGestures, id, t)
app/common/renderer/components/SessionInspector/GesturesTab/SavedGestures.jsx:33
↓ 2 callersFunctiongetInnerTable
(dataObject)
app/common/renderer/components/SessionInspector/SessionInfoTab/SessionInfo.jsx:50
↓ 2 callersMethodgetRobotVal
(jsonVal)
app/common/renderer/lib/client-frameworks/robot.js:11
↓ 2 callersFunctiongetSavedClientFramework
()
app/common/renderer/actions/SessionInspector.js:337
↓ 2 callersFunctiongetSavedGestures
()
app/common/renderer/actions/SessionInspector.js:972
↓ 2 callersFunctiongetSavedSessions
()
app/common/renderer/actions/SessionBuilder.js:449
↓ 2 callersFunctionhandleCapsAndServer
(uuid)
app/common/renderer/components/SessionBuilder/SavedCapabilitySetsTab/SavedCapabilitySets.jsx:48
↓ 2 callersFunctionisXpathUnique
* Parse and evaluate an xpath using the built-in safe variable replacement, * then check whether it finds exactly one element * * @param {string} x
app/common/renderer/utils/locator-generation/simple.js:94
↓ 2 callersFunctionkeepSessionAlive
()
app/common/renderer/actions/SessionInspector.js:824
↓ 2 callersFunctionlogEmptyLine
()
app/electron/main/debug.js:13
↓ 2 callersFunctionmethodMapContent
(driverMethods, isExecute)
app/common/renderer/components/SessionInspector/CommandsTab/MethodMapCommandsList.jsx:57
↓ 2 callersFunctionnewSession
(originalCaps, attachSessId = null)
app/common/renderer/actions/SessionBuilder.js:220
↓ 2 callersMethodnewSession
(serverOpts, capabilities = {})
app/common/renderer/lib/appium/session-starter.js:30
↓ 2 callersFunctiononBack
()
app/common/renderer/components/SessionInspector/GesturesTab/GestureEditor.jsx:119
↓ 2 callersFunctionoptionAbout
()
app/electron/main/menus.js:26
↓ 2 callersFunctionoptionCheckForUpdates
()
app/electron/main/menus.js:33
↓ 2 callersFunctionparseAndValidateSessionFileString
(sessionFileString)
app/common/renderer/actions/SessionBuilder.js:664
↓ 2 callersMethodparseAndroidContexts
* Parse the Android contexts webview data * * Returns * { * id: string; // NATIVE_APP or the webview name * title?: str
app/common/renderer/lib/appium/inspector-driver.js:477
↓ 2 callersFunctionparseCoordinates
(element)
app/common/renderer/utils/other.js:44
↓ 2 callersFunctionprepareAndRunCommand
(commandDetails)
app/common/renderer/components/SessionInspector/CommandsTab/Commands.jsx:89
↓ 2 callersFunctionreadTextFromUploadedFiles
(fileList)
app/common/renderer/utils/file-handling.js:13
↓ 2 callersFunctionrebuildMenus
(mainWindow)
app/electron/main/menus.js:149
↓ 2 callersFunctionretrieveVendorProperties
* @returns {Promise<VendorProperties | false | {}>}
app/common/renderer/actions/SessionBuilder.js:706
↓ 2 callersMethodrun
(params)
app/common/renderer/lib/appium/inspector-driver.js:56
↓ 2 callersFunctionrunKeepAliveLoop
()
app/common/renderer/actions/SessionInspector.js:788
↓ 2 callersFunctionsafelyCallCommand
(methodName)
app/common/renderer/actions/SessionInspector.js:761
↓ 2 callersFunctionscreenshotInteractionChange
(mode)
app/common/renderer/components/SessionInspector/SessionInspector.jsx:177
↓ 2 callersFunctionselectAppMode
(mode)
app/common/renderer/actions/SessionInspector.js:661
↓ 2 callersFunctionselectTick
(tick)
app/common/renderer/actions/SessionInspector.js:1029
↓ 2 callersFunctionsetAwaitingMjpegStream
(isAwaiting)
app/common/renderer/actions/SessionInspector.js:884
↓ 2 callersFunctionsetCapsAndServer
(server, serverType, caps, uuid, name)
app/common/renderer/actions/SessionBuilder.js:175
↓ 2 callersFunctionsetExpandedPaths
(paths)
app/common/renderer/actions/SessionInspector.js:293
↓ 2 callersFunctionsetSessionTime
(time)
app/common/renderer/actions/SessionInspector.js:729
↓ 2 callersFunctionsetTheme
()
app/web/polyfills.js:13
↓ 2 callersFunctionsetUserWaitTimeout
(userWaitTimeout)
app/common/renderer/actions/SessionInspector.js:779
↓ 2 callersFunctionstringifyValue
(val)
app/common/renderer/components/SessionInspector/CommandsTab/CommandResultModal.jsx:14
↓ 2 callersFunctionswitchScreenCaptureMode
(shouldUseMjpeg)
app/common/renderer/components/SessionInspector/SessionInspector.jsx:183
↓ 2 callersFunctionuseTheme
()
app/common/renderer/hooks/use-theme.jsx:5
↓ 2 callersFunctionwhitespaceMsg
(value, t)
app/common/renderer/components/SessionBuilder/CapabilityBuilderTab/CapabilityEditor.jsx:26
↓ 1 callersMethod_buildClassChainFromAttribute
* Build a class chain expression from a single attribute * * @param {string} attrName - the attribute name * @param {string} attrValue - the
app/common/renderer/utils/locator-generation/class-chain.js:67
↓ 1 callersMethod_buildClassChainWithIndex
* Build a class chain with index qualifier for non-unique matches * * @param {string} classChain - the base class chain * @param {number} ind
app/common/renderer/utils/locator-generation/class-chain.js:91
↓ 1 callersMethod_buildHierarchicalClassChain
* Build a hierarchical class chain based on the node's position in the DOM tree * * @returns {string} hierarchical class chain for this node
app/common/renderer/utils/locator-generation/class-chain.js:137
↓ 1 callersMethod_buildHierarchicalXPath
* Build a hierarchical XPath based on the node's position in the DOM tree * * @returns {string} hierarchical XPath for this node
app/common/renderer/utils/locator-generation/xpath.js:421
↓ 1 callersMethod_buildParentScopedXPath
* Build an XPath scoped to a unique ancestor * * @param {Node} ancestorNode - The unique ancestor node * @param {string} ancestorXpath - The
app/common/renderer/utils/locator-generation/xpath.js:327
↓ 1 callersMethod_buildUiSelector
* Build a UiAutomator selector from an attribute * * @param {string} attrTranslation - the UiAutomator method name * @param {string} attrValu
app/common/renderer/utils/locator-generation/uiautomator.js:136
↓ 1 callersMethod_buildUiSelectorWithInstance
* Build a UiAutomator selector with instance index * * @param {string} uiSelector - the base UiAutomator selector * @param {number} index - t
app/common/renderer/utils/locator-generation/uiautomator.js:147
↓ 1 callersMethod_buildUniqueXPathFinderCases
* Build the list of cases to try when generating an XPath * * @returns {Array<string[]|[string, string][]>} array of attribute configurations to
app/common/renderer/utils/locator-generation/xpath.js:236
↓ 1 callersMethod_buildUniquenessXPath
* Build an XPath expression to check uniqueness of an attribute * * @param {string} attrName - the attribute name * @param {string} attrValue
app/common/renderer/utils/locator-generation/class-chain.js:79
↓ 1 callersMethod_buildUniquenessXPath
* Build an XPath to check uniqueness of an attribute in the new document scope * * @param {Node} domNode - the DOM node in the new scope * @p
app/common/renderer/utils/locator-generation/uiautomator.js:159
↓ 1 callersMethod_buildXPathFromAttributePair
* Build an XPath expression from a pair of attributes * * @param {[string, string]} attrPair - pair of attribute names * @param {string} tagF
app/common/renderer/utils/locator-generation/xpath.js:153
↓ 1 callersMethod_buildXPathFromSingleAttribute
* Build an XPath expression from a single attribute * * @param {string} attrName - the attribute name * @param {string} tagForXpath - the tag
app/common/renderer/utils/locator-generation/xpath.js:138
↓ 1 callersMethod_cannotProcessNode
* Check if the node can be processed for class chain generation * * @returns {boolean} true if the node cannot be processed
app/common/renderer/utils/locator-generation/class-chain.js:56
↓ 1 callersMethod_createLastHierarchyChildScope
* Create a new document scope containing only the last hierarchy child * * @returns {{newDoc: Document, newDomNode: Node}} new document and node
app/common/renderer/utils/locator-generation/uiautomator.js:109
↓ 1 callersMethod_fetchAppIdentifier
()
app/common/renderer/utils/attaching-to-session.js:33
↓ 1 callersMethod_fetchDeviceIdentifier
()
app/common/renderer/utils/attaching-to-session.js:16
↓ 1 callersMethod_fetchPlatformInfo
()
app/common/renderer/utils/attaching-to-session.js:20
↓ 1 callersMethod_fetchSessionName
()
app/common/renderer/utils/attaching-to-session.js:12
↓ 1 callersMethod_findBestParentScopeXPath
* Try to find a scoped XPath using a unique ancestor * * @param {string|null} nodeScopeXpath - the semi-unique XPath from Phase 1, without index
app/common/renderer/utils/locator-generation/xpath.js:404
↓ 1 callersMethod_findUniqueAncestor
* Find the closest ancestor node that has a unique identifying attribute or tag name. * If Phase 1 found a semi-unique XPath, only check ancestors
app/common/renderer/utils/locator-generation/xpath.js:299
↓ 1 callersMethod_getUniqueNodeScopeXPath
* Given an xml doc and a current dom node, try to find a robust xpath selector qualified by * key attributes, which is unique in the document (or u
app/common/renderer/utils/locator-generation/xpath.js:222
↓ 1 callersMethod_isInLastHierarchyChild
* Check if the element is in the last hierarchy child * * @returns {boolean} true if element is in the last hierarchy child
app/common/renderer/utils/locator-generation/uiautomator.js:91
↓ 1 callersMethod_optimizeParentScopedXpath
* Optimize a parent-scoped XPath by attempting to reduce its final index, if any * * @param {string} parentScopedXpath - the parent-scoped XPath
app/common/renderer/utils/locator-generation/xpath.js:365
↓ 1 callersMethod_tryAttributeBasedClassChain
* Try to find a unique class chain based on attributes * * @returns {string|undefined} the class chain if found, undefined otherwise
app/common/renderer/utils/locator-generation/class-chain.js:100
↓ 1 callersMethod_tryFindUniqueSelector
* Try to find a unique UiAutomator selector based on attributes * * @param {Document} doc - the document scope to search in * @param {Node} d
app/common/renderer/utils/locator-generation/uiautomator.js:170
↓ 1 callersMethod_tryNodeAttributesForUniqueXPath
* Try to find a unique XPath by testing attributes * * @param {string[]|[string, string][]} attrs - attributes to test (single attributes or pai
app/common/renderer/utils/locator-generation/xpath.js:180
↓ 1 callersMethod_tryNodeTagNameForUniqueXPath
* Try to find a unique XPath based on the node's tag name alone * * @returns {{nodeXpath: string, nodeIndex: number}|{}} the XPath and index if
app/common/renderer/utils/locator-generation/xpath.js:117
↓ 1 callersFunctionabortDesiredCapsEditor
()
app/common/renderer/actions/SessionBuilder.js:843
↓ 1 callersFunctionabortDesiredCapsNameEditor
()
app/common/renderer/actions/SessionBuilder.js:817
↓ 1 callersFunctionactionBar
()
app/common/renderer/components/SessionInspector/RecorderTab/Recorder.jsx:28
↓ 1 callersFunctionactionBar
()
app/common/renderer/components/SessionInspector/SessionInfoTab/SessionCodeBox.jsx:25
← previousnext →101–200 of 953, ranked by callers