An open API service indexing awesome lists of open source software.

https://github.com/webmate-io/webmate-sdk-js-samples

Sample projects using the webmate TypeScript and JavaScript SDKs
https://github.com/webmate-io/webmate-sdk-js-samples

javascript-sdk samples sdk webmate

Last synced: 4 months ago
JSON representation

Sample projects using the webmate TypeScript and JavaScript SDKs

Awesome Lists containing this project

README

          

# webmate TypeScript and JavaScript SDK Samples webmate logo

This repository contains examples of how to use the official [webmate TypeScript and JavaScript SDK](https://github.com/webmate-io/webmate-sdk-js).

# Samples

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

## webmate API

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](https://app.webmate.io/api/swagger) for a comprehensive summary of the webmate functionalities.