Skip to content

webmate-io/webmate-sdk-js-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webmate TypeScript and JavaScript SDK Samples webmate logo

This repository contains examples of how to use the official webmate TypeScript and JavaScript SDK.

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 for a comprehensive summary of the webmate functionalities.