Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 729 Bytes

File metadata and controls

40 lines (27 loc) · 729 Bytes

debug.cursor

Show cursor in page.

This plugin is not recommended for use in production.

Options

This plugin has no option.

Example

Use the plugin.

import { chromium } from "playwright-ghost";
import plugins from "playwright-ghost/plugins";

const browser = await chromium.launch({
  plugins: [plugins.debug.cursor()],
});
// ...

Advanced

Import

If you want to import only this plugin, you can use the "playwright-ghost/plugins/debug/cursor" path in the import.

import { chromium } from "playwright-ghost";
import debugCursorPlugin from "playwright-ghost/plugins/debug/cursor";

const browser = await chromium.launch({
  plugins: [debugCursorPlugin()],
});
// ...