Skip to main content

Developer

Fire Healthcheck​

Restrictions: "sidecar:write"

Fire Healthcheck

Re-runs a sidecar healthcheck for the current session.

Only module-based healthchecks can be fired. Restricted to users with the sidecar:write scope.

Inputs​

NameTypeDescriptionRequiredDynamic
checkstringThe module-based healthcheck to re-run, e.g. "Sidecar.Healthcheck.Check.Appium".YesNo

Outputs​

NameTypeDescription
defaultbooleanIs the healthcheck healthy after firing?
healthybooleanIs the healthcheck healthy after firing?

Global Context​

Restrictions: :root

Global Context

No docs available

Inputs​

NameTypeDescriptionRequiredDynamic

Outputs​

NameTypeDescription
app.namestringCurrent app name
app.idstringCurrent app ID
app.versionstringCurrent app version
device.makestringDevice manufacturer
device.modelstringDevice model
device.yearstringDevice year
defaultnull

Demo All UI​

Restrictions: :root

Demo All UI

No docs available

Inputs​

NameTypeDescriptionRequiredDynamic
colorcolorChoose a color.YesNo
color_optionalcolorChoose an optional color.NoNo
number_signednumberEnter a number.YesNo
number_unsignednumberEnter a number.YesNo
number_optionalnumberEnter a number.NoNo
booleanbooleanBoolean input.YesNo
codecodeEnter some code.YesNo
code_optionalcodeEnter some code.NoNo
enumenumChoose an item from a dropdown list.YesNo
enum_optionalenumChoose an optional item from a dropdown list.NoNo
stringstringEnter some text.YesNo
string_optionalstringEnter some text.NoNo
string_extra_longstringEnter some long text.YesNo
string_multiplestringEnter some text.YesNo
imageimageSelect an image.YesNo
regionregionSelect a region defined in a screen.YesNo
screenscreenSelect a screen.YesNo
screen_multiplescreenSelect multiple screens.YesNo
screen_optionalscreenSelect an optional screen.NoNo
keykeyDefine a sequence of keys.YesNo

Outputs​

NameTypeDescription
defaultnull

Restart Sidecar​

Restrictions: "sidecar:write"

Restart Sidecar

Restarts the sidecar that is running the current session.

A hard restart gracefully recreates the sidecar containers through the sidecar-agent.

A quick restart halts the sidecar process and lets Docker recreate the container, which is faster but abrupt.

Restricted to users with the sidecar:write scope.

Inputs​

NameTypeDescriptionRequiredDynamic
modeenumHow to restart the sidecar. "Hard Restart" gracefully recreates the sidecar via the sidecar-agent; "Quick Restart" halts the process and lets Docker restart the container.YesNo
delaynumberSeconds to wait before restarting, giving the running automation time to finish first. Minimum 1 second.YesNo

Outputs​

NameTypeDescription
defaultnull

Update Context​

Restrictions: "none"

Update Context

No docs available

Inputs​

NameTypeDescriptionRequiredDynamic
keystringThe key to update in the context.YesYes
valuecodeThe value to set the key to.YesYes

Outputs​

NameTypeDescription
defaultnull

Demo Image Upload​

Restrictions: "none"

Demo Image Upload

No docs available

Inputs​

NameTypeDescriptionRequiredDynamic
imageimageThis is a single image.YesNo
image_multipleimageThese are a multiple image.YesNo

Outputs​

NameTypeDescription
defaultnull

Mark Healthcheck​

Restrictions: "sidecar:write"

Mark Healthcheck

Marks a sidecar healthcheck as healthy or unhealthy for the current session.

The change is flagged as a manual override so it is distinguishable from automated healthcheck results. Restricted to users with the sidecar:write scope.

Inputs​

NameTypeDescriptionRequiredDynamic
checkstringThe healthcheck to mark, e.g. "Sidecar.Healthcheck.Check.Appium".YesNo
statusenumWhether to mark the healthcheck as healthy or unhealthy.YesNo

Outputs​

NameTypeDescription
defaultnull

Override Protocols​

Restrictions: "sidecar:write"

Override Protocols

Overrides the device's active control protocols for the current session.

The override applies for the duration of the session and reverts when the device disconnects. Restricted to users with the sidecar:write scope.

Inputs​

NameTypeDescriptionRequiredDynamic
protocolsenumOne or more control protocols to apply to the device for this session.YesNo

Outputs​

NameTypeDescription
old_protocolstableProtocols that were active before the override
new_protocolstableProtocols applied by the override
defaultnull