Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@guidepup/playwright
Advanced tools
Screen-reader driver for Playwright.
Providing a reliable set of APIs to automate your screen-reader a11y workflows in Playwright.
Install @guidepup/playwright
to your project:
npm install --save-dev @guidepup/playwright
And get cracking with your first screen-reader tests in Playwright! 🚀
import { voTest as test } from "@guidepup/playwright";
import { expect } from "@playwright/test";
test.describe("Playwright VoiceOver", () => {
test("I can navigate the Playwright website using VoiceOver", async ({
page,
vo,
}) => {
// Navigate to Playwright website 🎉
await page.goto("https://playwright.dev/", {
waitUntil: "domcontentloaded",
});
// Interact with the page 🙌
await vo.interact();
// Move across the navigation menu to the search bar using VoiceOver 🔎
while (!(await vo.lastSpokenPhrase())?.startsWith("Search")) {
await vo.next();
}
// Search for Safari 👀
await vo.type("Safari");
await vo.press("ArrowDown");
await vo.press("ArrowUp");
await Promise.all([page.waitForNavigation(), vo.act()]);
expect(page.url()).toBe("https://playwright.dev/docs/browsers#webkit");
});
});
In your playwright.config.ts
add the following for the best results with
Guidepup for VoiceOver automation. 💥
import { devices, PlaywrightTestConfig } from "@playwright/test";
import { voConfig } from "@guidepup/playwright";
const config: PlaywrightTestConfig = {
...voConfig,
// Your custom config ...
};
export default config;
Check out the configuration this adds in the voConfig.ts file. 👀
Setup your environment for screen-read automation with @guidepup/setup
:
npx @guidepup/setup
If you are using GitHub Actions, check out the dedicated guidepup/setup-action
:
- name: Setup Environment
uses: guidepup/setup-action@0.1.3
Checkout the core @guidepup/guidepup
project to learn more about how you can automate your screen-reader workflows
using Guidepup.
FAQs
Screen reader driver for Playwright tests.
The npm package @guidepup/playwright receives a total of 2,498 weekly downloads. As such, @guidepup/playwright popularity was classified as popular.
We found that @guidepup/playwright demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.