Skip to main content

Getting Started with Tarantula Playwright Adapter

Installation

npm install @demirtag/tarantula @demirtag/tarantula-playwright-adapter @playwright/test

Usage

  1. Import the adapter and core classes in your test project.
  2. Use the adapter's driver and element classes to interact with Playwright.

Example

import { PlaywrightDriver } from '@demirtag/tarantula-playwright-adapter';
import { BasePage } from '@demirtag/tarantula';

const driver = new PlaywrightDriver();
await driver.launch();

Next Steps

  • See architecture.md for design details.
  • Refer to Playwright documentation for advanced usage.