https://github.com/jonaskello/playwright-bug-repro
https://github.com/jonaskello/playwright-bug-repro
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonaskello/playwright-bug-repro
- Owner: jonaskello
- Created: 2023-05-16T10:27:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-16T10:45:56.000Z (about 3 years ago)
- Last Synced: 2024-10-06T02:20:17.527Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to reproduce
```
npm install
npm start
```
Then in second terminal
```
npx playwright codegen http://localhost:3040/
```
In playwright browser turn on developer tools and click console.
Then click the cross.
It will result in this error in the console:
```
t (in promise) TypeError: Cannot read properties of undefined (reading 'includes')
at parseSelectorString (:1422:17)
at parseSelector (:1322:18)
at InjectedScript.parseSelector (:4440:20)
at makeStrict (eval at extend (localhost/:4673:40), :1017:43)
at cssFallback (eval at extend (localhost/:4673:40), :1061:10)
at generateSelector (eval at extend (localhost/:4673:40), :826:40)
at Recorder._updateModelForHoveredElement (eval at extend (localhost/:4673:40), :3404:36)
at Recorder._onFocus (eval at extend (localhost/:4673:40), :3395:10)
at Recorder._performAction (eval at extend (localhost/:4673:40), :3531:10)
parseSelectorSt
```