> ## Documentation Index
> Fetch the complete documentation index at: https://plugwright.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick Start

> Start running your first test in less than 5 minutes.

<Steps>
  <Step title="Prerequisites">
    Before you begin, you need:

    * **Java 17** or higher
    * **Node.js** (for running the test runner)
  </Step>

  <Step title="Installation">
    Add Plugwright to your `build.gradle.kts` file:

    ```kotlin theme={null}
    plugins {
        id("io.github.drownek.plugwright") version "2.0.2"
    }
    ```
  </Step>

  <Step title="Initialization">
    Run the init command to set up the default configuration and an example test in your project:

    ```bash theme={null}
    ./gradlew plugwrightInit
    ```
  </Step>

  <Step title="Your First Test">
    Here's an example of the simplest test. Plugwright starts the server, connects a bot, and makes it type a command:

    ```javascript theme={null}
    import { expect, test } from '@drownek/plugwright';

    test('help displays message', async ({ player }) => {
      player.chat('/help');
      await expect(player).toHaveReceivedMessage('Help');
    });
    ```
  </Step>
</Steps>
