MCPcopy
hub / github.com/nilbuild/driver.js / navButton

Function navButton

tests/utils.ts:50–51  ·  view source on GitHub ↗
(which: "next" | "prev" | "close")

Source from the content-addressed store, hash-verified

48export const popoverDescription = () => document.querySelector(".driver-popover-description")?.textContent?.trim();
49export const progressText = () => document.querySelector(".driver-popover-progress-text")?.textContent?.trim();
50export const navButton = (which: "next" | "prev" | "close") =>
51 document.querySelector<HTMLButtonElement>(`.driver-popover-${which}-btn`);
52
53export function pressKey(key: string): void {
54 window.dispatchEvent(new KeyboardEvent("keyup", { key }));

Callers 6

events.test.tsFile · 0.90
hooks.test.tsFile · 0.90
popover.test.tsFile · 0.90
highlight.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…