Setup

Installation and Setup

Q: How do I install the Stoobly JavaScript library?

A: Install the library as a dev dependency using npm or yarn.

Example:

# Install with npm
npm install stoobly --save-dev

# Install with yarn
yarn add -D stoobly

Q: What are the requirements for using the Stoobly JavaScript library?

A: The library requires Node.js 18 or higher and works with Playwright and Cypress test frameworks.

Example:

# Check Node version
node --version
# Should output v18.0.0 or higher

# Install with Playwright
npm install stoobly @playwright/test --save-dev

# Install with Cypress
npm install stoobly cypress --save-dev

Q: How do I import the Stoobly library?

A: Import the library using ES modules or CommonJS syntax.

Example:

Last updated