RALLF Node.js SDK
Toolset to create, test & deploy Tasks for RALLF (NodeJS Edition)
🔗 Getting Started
🔗 Creating
🔗 Running
🔗 CLI
🔗 Manifest
🔗 Skill
🔗 Task
Disclaimer! This package is in development stage (unstable), it may be potentially buggy
Resources
Installing
To have access to global commands, run:
$ npm install rallf-js-sdk -g
For using for development, run inside your task project:
$ npm install rallf-js-sdk
Getting Started
Now you can check the Getting Started guide to start developing
Overview
const rallf = require('rallf-js-sdk');
class MyTask extends rallf.Task {
constructor() {
super();
this.firefox = null;
}
async warmup() {
this.logger.debug('warmup');
this.firefox = await this.devices.get('firefox');
await this.firefox.get('https://github.com');
}
async start(input) {
this.logger.debug(this.fqtn + ' started');
return await this.firefox.getTitle();
}
async cooldown() {
this.logger.debug('cooldown');
await this.firefox.quit();
}
}
Found a bug?
If you found a bug please leave us an issue.
- Make sure you check the contributing guidelines before.
- Make sure that issue has not been reported
Want to collaborate?
We love contributions from people, refer to the contributing guidelines for information on how to get started and how we work. Also and don't hesitate in contacting us.