This repository contains examples of how to use the official webmate TypeScript and JavaScript SDK.
Before running the tests, enter your webmate credentials in credentials.ts
.
To build the TypeScript tests located at src/
run npm run build
. This will create the according .js
tests in the test/
directory.
To run all tests execute npm run test
.
Please note that running the tests will also build them automatically.
It is also possible to run the tests individually as mentioned in the according description in the table.
Test | Frameworks |
---|---|
Example Page Steps | Cucumber, Selenium, JUnit |
Device Interaction Test | Mocha, Chai |
Selenium Test | WebdriverIO, Mocha, Chai |
URL Based Crossbrowser Test | Mocha, Chai |
Although, the SDK provides a number of features and convenience wrappers it doesn't exhaust the full potential of the webmate API. See the REST API Swagger documentation for a comprehensive summary of the webmate functionalities.