Questions tagged [inspector]

Inspector is a general support tool for Appium for UI automation designed to be used in conjunction with the Appium Server. It's helpful in inspecting the U elements and their attribute values. Use this tag for questions referring to Appium automation and inspecting UI elements using the support tool Inspector.

Appium Inspector is a inspection and recording tool provided along with Appium GUI Application to provide an add on support to the automation tool.

Inspector : Generally termed as Appium Inspector, can be accessed by clicking the magnifying glass button next to the launch button on the Appium GUI application once the Appium server has launched.

Appium server must be running with an test app(.apk/.ipa/.app) open for inspector to work. Otherwise, it will not work.

Inspector Window

  • Show Invisible Filter: Elements which are not visible will be displayed in the DOM 3-column-view.

  • Show Disabled Filter: Elements which are not enabled will be displayed in the DOM 3-column-view.

  • Record Button: Opens the recording Panel and starts recording actions performed using controls in the Appium Inspector.

  • Refresh Button: Refreshes the DOM 3-column view and the screenshot.

  • Screenshot Area: Displays the last screenshot taken for the app. You can click this area to select elements in the DOM.

  • Details Area: Displays details about the currently selected element.

  • Action Palette: The action palette contains buttons that will trigger actions on the device under test. Actions can be tried out here or entered to be recorded.

  • Touch Section: Contains buttons to perform touch events like tapping and swiping.

  • Text Section: Contains buttons to perform text events like typing and executing JavaScript.
  • Alerts Section: Contains buttons to perform events on alerts and action sheets.

Recorder Drawer

The recorder draw contains the code generated by recorded actions you've performed while recording is enabled.

  • Language Selection Dropdown: Changes the language your recorded actions are displayed in.

  • Add Boilerplate Checkbox: Checking this block will display code used to setup the Selenium instance along with code related to the actions you have recorded. Unchecking this box will only show only the code from the actions you have recorded.

  • XPath Only Checkbox: Checking this will cause all element identifiers to be created using XPath.

  • Replay Button: Replays the actions that you have recorded.
  • Undo Button: Deletes the last recorded action.
  • Redo Button: Adds back the last undone action.
  • Clear Button: Removes all recorded actions.
292 questions
-1
votes
1 answer

is there a way to apply changes in browser inspector to CSS files synchronously?

I was wondering if there is a way to synchronously apply changes made in the inspector to CSS elements to the actual CSS files in visual studio. It would save a lot of time it this would be available.
amirdaraee
  • 69
  • 8
-1
votes
1 answer

How to use selectors in Mobile App using Appium

I am trying to inspect an Android/iOS app . When i inspect an android app, I get the following:- resource-id: com.company.droid.qa:id/textNewsDate class:- android.widget.TextView package:- com.company.droid.qa Will package name will be added in…
Galet
  • 4,039
  • 12
  • 62
  • 119
-1
votes
1 answer

Is there any easy selector in JavaScript to get DOM elements?

I'm looking something similar to element inspector with mouse click in Opera Dragonfly and Firebug. After my click it'll show how can I get that element in JavaScript? Is there any tool for this?
Imrahil
  • 135
  • 1
  • 10
-2
votes
1 answer

App Inspector for Sencha removed from Chrome store

Any ideas why this extension was marked dangerous and removed from the Chrome store? It happened ~ 10 days ago.
-2
votes
1 answer

How to create a custom inspector which can select object in scene > script > function (public void...)

I the user to be able to select an object then a script which is within and then a void which is within the script. So basically, inside the inspector of script1 I want to user to be able to select an object, then a script which is within it and…
-2
votes
2 answers

Unexplainable gap on bottom of web page

I'm having an issue with a site we launched recently. There's a 25 pixel gap at the bottom of the site that I cannot explain, and I've exhausted all troubleshooting techniques I could think of trying to figure this out. http://bit.ly/1I2m3ZD Here's…
Paul H
  • 13
  • 5
-4
votes
1 answer

How to add image or logo in Unity C# script to show on Inspector Window?

I am trying to add an image/logo in my own script like the example below. Searched a lot in Google and Unity forum but nothing found straight to me. I want to add an image/logo of my own in my script so that it will show up in the top of my script…
XpressGeek
  • 828
  • 1
  • 10
  • 21
1 2 3
19
20