-
Notifications
You must be signed in to change notification settings - Fork 532
Open
Description
Expected Behavior
CLI should report the error and complete the execution
Actual Behavior
Execution hangs and you need to press Ctrl + C to cancel execution
Steps to Reproduce the Problem
- Save the attached replay
- Run
npx @puppeteer/replay <saved-recording-path>
You can make the json pass by removing --wrong from the selector in the click step.
Specifications
- Version: @puppeteer/replay 0.1.2
- Platform: MacOS
Attachment
{
"title": "hn-app-refresh",
"steps": [
{
"type": "setViewport",
"width": 1280,
"height": 1361,
"deviceScaleFactor": 1,
"isMobile": false,
"hasTouch": false,
"isLandscape": false
},
{
"type": "navigate",
"url": "https://hn-vanilla-pwa.ergunsh.vercel.app/",
"assertedEvents": [
{
"type": "navigation",
"url": "https://hn-vanilla-pwa.ergunsh.vercel.app/",
"title": "HN App"
}
]
},
{
"type": "click",
"selectors": [
[
"#postListContainer--wrong > div > div:nth-child(1) > h4"
]
],
"target": "main",
"offsetX": 148,
"offsetY": 10.5625
}
]
}TheBit
Metadata
Metadata
Assignees
Labels
No labels