Files
appium/packages/base-driver/lib/jsonwp-status
Christopher Hiller 133db5355f chore: reformat everything
this reformats all `.js`, `.ts`, and `.d.ts` files.
2022-05-09 19:09:50 -07:00
..
2022-05-09 19:09:50 -07:00

jsonwp-status

Library of status codes for the Selenium JSON Wire Protocol.

Usage

import { statusCodes } from 'appium-base-driver';

statusCodes.NoSuchContext;
// -> {code: 35, summary: 'No such context found'}
import { getSummaryByCode } from 'appium-base-driver';

getSummaryByCode(0);
// -> 'The command executed successfully.'