Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@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.commandInteractWithItem();
// Move across the navigation menu to the search bar using VoiceOver 🔎
while (!(await vo.getLastSpokenPhrase())?.startsWith("Search")) {
await vo.moveNext();
}
// Search for Safari 👀
await page.keyboard.type("Safari");
await vo.performAction();
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 here. 👀
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,071 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.