Giter Site home page Giter Site logo

swellrt-selenium's Introduction

swellrt-selenium

Simple Java/Selenium scripts to play with concurrent real-time writing in the text editor of Wave/SwellRT.

Usage

Run main class PadWriteMain.java with following command line arguments:

<path-to-webdriver>,<path-to-webdriver>... <pad-url> <input-file>,<line-to-start>[,browser] <input-file>,<line-to-start>[,browser] ...

The tool will start a new thread per each input file:

  • The thread will load the pad url in a new Web browser instance
  • It will write the contents of the input file in the pad "simulating" human writing.
  • Writing will start at the provided
  • Optionally the browser brand of each thread can be provided with following codes: chrome (default) or firefox

After all threads finish the writing, the tool will wait for key input to close browser windows.

Setting up a target Wave/SwellRT editor

Before executing the tool, ensure your app automatically enables the edit mode in the editor component when it's loaded in the browser. Also, the editor panel should have at least a blank lines for any if the threads run with the tool.

Configuring web drivers

To install web drivers check out following links:

swellrt-selenium's People

Contributors

pablojan avatar

Stargazers

Benjamin Goering avatar  avatar

Watchers

Neustradamus avatar James Cloos avatar Chris Pinchen avatar David Rozas avatar Samer Hassan avatar  avatar  avatar Patrick Davenne avatar Ámbar Tenorio-Fornés avatar Pete Barbrook-Johnson avatar elena avatar Joan avatar

Forkers

tdltdl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.