appium-express
Express server tuned for to serve Appium.
Configuration
The appium-express
server comes configured with:
- appropriate logging formats
- service of necessary static assets
- allowance of cross-domain requests
- default error handling
- fix for invalid content types sent by certain clients
To configure routes, a function that takes an Express server is passed into the server. This function can add whatever routes are wanted.
Usage
; // configure the routes { app; app;} let port = 5000;let host = 'localhost'; let appiumServer = await ;
Watch
npm run watch
Test
npm test