Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@guidepup/playwright
Advanced tools
Screen reader driver for Playwright tests.
Reliable automation for your screen reader a11y workflows in Playwright supporting:
NVDA on Windows - Coming Soon!
A11y static analysis tools only cover 25% of WCAG and don't assure on the quality of the user experience for screen reader users. This means teams need to perform lots of manual tests with multiple screen readers to ensure great UX which can take a lot of time... not anymore!
With Guidepup you can automate your screen reader test workflows the same you as would for mouse or keyboard based scenarios, no sweat!
Set up your environment for screen reader automation with @guidepup/setup
:
npx @guidepup/setup
Install @guidepup/playwright
to your project:
npm install --save-dev @guidepup/playwright @playwright/test
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 Guidepup Github page", async ({
page,
voiceOver,
}) => {
// Navigate to Guidepup GitHub page
await page.goto("https://github.com/guidepup/guidepup", {
waitUntil: "domcontentloaded",
});
// Wait for page to be ready and interact
await expect(page.locator('header[role="banner"]')).toBeVisible();
await voiceOver.interact();
// Move across the page menu to the Guidepup heading using VoiceOver
while ((await voiceOver.itemText()) !== "Guidepup heading level 1") {
await voiceOver.perform(voiceOver.keyboard.commands.findNextHeading);
}
});
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.
Set up 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.13.0
Head over to the Guidepup Website for guides, real world examples, environment setup, and complete Guidepup API documentation with examples.
Check out this cross-browser VoiceOver example.
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.
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.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.