/
/CulebraTester
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 9m ago · Updated 1mo ago
  • getGets help
  • getGets information about this app
  • getGets display real size
  • getStarts an Activity
  • getLists the objects in store
  • getDumps the window hierarchy
  • getClicks at the specified location
  • getFinds an object
  • postFinds an object
  • getFinds *all* objects that match the selector criteria.
  • getGets the current package name
  • getGets the display height
  • getGets the display rotation
  • getGets the display size in DP
  • getGets the display width
  • getRetrieves the text from the last UI traversal event received.
  • getRetrieves the product name of the device.
  • getSimulates a short press on the BACK button.
  • getSimulates a short press on the DELETE key.
  • getSimulates a short press on the ENTER key.
  • getSimulates a short press on the HOME button.
  • getSimulates a short press on the Recent Apps button.
  • getPerforms a swipe.
  • postPerforms a swipe between points in the Point array.
  • getWaits for the current application to idle.
  • getWaits for a window content update event to occur.
  • getSimulates a short press using a key code.
  • getGets the device screenshot
  • getClicks on the specified object.
  • getDumps the specified object.
  • getGets the text content.
  • getLong-clicks on the specified object.
  • postSets the text content if this object is an editable field.

Gets the display width

Gets the display width

get/uiDevice/displayWidth

Response

OK

displayWidthinteger

the current display width

Example response

{
  "displayHeight": 1080
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.