Toolset to create Tasks for RALLF


Keywords
Automation, Bots, Rallf, RobotUnion, Selenium, sdk, AI, Browser, Robotics, Testing, nodejs, robot
License
MIT
Install
npm install rallf-js-sdk@1.0.0-beta.3

Documentation

RALLF Node.js SDK


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.

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.