effect-playwright
    Preparing search index...

    Type Alias TestEnvironment

    TestEnvironment:
        | Playwright.Browser
        | Playwright.BrowserContext
        | Playwright.Page
        | Scope.Scope

    Services available to an Effect-based Playwright test.

    import { Effect } from "effect";
    import { Playwright } from "effect-playwright";
    import { expect, test } from "effect-playwright/test";

    test.effect("loads a page", () =>
    Effect.gen(function* () {
    const page = yield* Playwright.Page;
    yield* page.goto("data:text/html,<title>Effect</title>");
    expect(yield* page.title).toBe("Effect");
    }),
    );

    0.6.0