https://github.com/thdk/playwright-headless-popup
Repro to investigate why google login popup doesn't open in headless playwright test
https://github.com/thdk/playwright-headless-popup
Last synced: 9 months ago
JSON representation
Repro to investigate why google login popup doesn't open in headless playwright test
- Host: GitHub
- URL: https://github.com/thdk/playwright-headless-popup
- Owner: thdk
- Created: 2022-07-05T11:28:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T18:26:15.000Z (almost 4 years ago)
- Last Synced: 2025-08-28T22:02:59.083Z (9 months ago)
- Language: TypeScript
- Size: 191 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Repro to investigate why google login popup doesn't open in headless playwright test
**Update:** popups aren't working in headless browser when the click handler is on a `div` element instead of on a `button` element.
Repos used for authentication and styling the google button:
https://github.com/anthonyjgrove/react-google-login
https://github.com/prescottprue/react-google-button
## packages/login-app
Demo react app containing some google login buttons.
```sh
yarn install
yarn start
```
## packages/e2e
```sh
yarn install
yarn playwright install
yarn test
```