Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@guidepup/playwright

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guidepup/playwright - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

6

package.json
{
"name": "@guidepup/playwright",
"version": "0.3.0",
"version": "0.4.0",
"description": "Screen-reader driver for Playwright.",

@@ -29,3 +29,3 @@ "main": "lib/index.js",

"compile": "tsc",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint": "eslint . --ext .ts",
"lint:fix": "yarn lint --fix",

@@ -35,3 +35,3 @@ "prepublish": "yarn build"

"dependencies": {
"@guidepup/guidepup": "^0.10.1"
"@guidepup/guidepup": "^0.11.0"
},

@@ -38,0 +38,0 @@ "devDependencies": {

@@ -39,12 +39,14 @@ <h1 align="center">Guidepup Playwright</h1>

// Interact with the page 🙌
await vo.commandInteractWithItem();
await vo.cursor.interact();
// Move across the navigation menu to the search bar using VoiceOver 🔎
while (!(await vo.getLastSpokenPhrase())?.startsWith("Search")) {
await vo.moveNext();
while (!(await vo.caption.lastSpokenPhrase())?.startsWith("Search")) {
await vo.cursor.next();
}
// Search for Safari 👀
await page.keyboard.type("Safari");
await Promise.all([page.waitForNavigation(), vo.performAction()]);
await vo.keyboard.type("Safari");
await vo.keyboard.press("ArrowDown");
await vo.keyboard.press("ArrowUp");
await Promise.all([page.waitForNavigation(), vo.cursor.act()]);
expect(page.url()).toBe("https://playwright.dev/docs/browsers#webkit");

@@ -73,3 +75,3 @@ });

Check out the configuration this adds [here](./src/voConfig.ts). 👀
Check out the configuration this adds [in the voConfig.ts file](./src/voConfig.ts). 👀

@@ -84,2 +86,9 @@ ## Environment Setup 🐾

If you are using GitHub Actions, check out the dedicated [`guidepup/setup-action`](https://github.com/marketplace/actions/guidepup-setup):
```yaml
- name: Setup Environment
uses: guidepup/setup-action
```
## See Also 🐶

@@ -86,0 +95,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc