mqscript_getpixelcolor
Retrieve the color value of a specific pixel at given coordinates on mobile device screens for automation testing and UI interaction.
Instructions
Get color of pixel at specified coordinates
Input Schema
Name | Required | Description | Default |
---|---|---|---|
returnVariable | No | Variable name to store the color value | color |
x | Yes | X coordinate | |
y | Yes | Y coordinate |
Input Schema (JSON Schema)
{
"properties": {
"returnVariable": {
"default": "color",
"description": "Variable name to store the color value",
"type": "string"
},
"x": {
"description": "X coordinate",
"type": "number"
},
"y": {
"description": "Y coordinate",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
}