Error Message: All or none of the provided TouchPoints must supply ids
p := &input.DispatchTouchEventParams{
Type: input.TouchMove,
TouchPoints: []*input.TouchPoint{}, // fill at least 2 touch points here, which id is 0 and 1 accordingly
}
err = p.Do(cdp.WithExecutor(c.chromedpContext, ctx.Target))
if err != nil {
c.log.Error().Msgf("touch event error %v", err)
}
It will be fail with message "All or none of the provided TouchPoints must supply ids"
Workaround: remove ",omitzero" in line 26 of file input/types.go. (The ID line)