{"record":{"id":"95e77335e14ec568","repo":"JuliusBrussee/caveman","slug":"element-not-actionable-last-box-v","errorCode":null,"errorMessage":"element not actionable: last box=%+v","messagePattern":"element not actionable: last box=%\\+v","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"browse/cdp.go","lineNumber":284,"sourceCode":"\t\t\t}\n\t\t\tx2, y2, w2, h2, err2 := d.box(ctx, target)\n\t\t\tstable := err2 == nil && math.Abs(x-x2) < 0.5 && math.Abs(y-y2) < 0.5 && math.Abs(w-w2) < 0.5 && math.Abs(h-h2) < 0.5\n\t\t\tif stable {\n\t\t\t\tvisible, err := d.visible(ctx, target)\n\t\t\t\tif err == nil && visible {\n\t\t\t\t\tenabled, err := d.enabled(ctx, target)\n\t\t\t\t\tif err == nil && enabled {\n\t\t\t\t\t\tok, err := d.receivesEvents(ctx, target, x2, y2)\n\t\t\t\t\t\tif err == nil && ok {\n\t\t\t\t\t\t\treturn x2, y2, nil\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tlast = boxPoint{x: x2, y: y2, w: w2, h: h2}\n\t\t}\n\t\tif time.Now().After(deadline) {\n\t\t\treturn 0, 0, fmt.Errorf(\"element not actionable: last box=%+v\", last)\n\t\t}\n\t\tselect {\n\t\tcase <-ctx.Done():\n\t\t\treturn 0, 0, ctx.Err()\n\t\tcase <-time.After(100 * time.Millisecond):\n\t\t}\n\t}\n}\n\ntype boxPoint struct {\n\tx float64\n\ty float64\n\tw float64\n\th float64\n}\n\nfunc (d *CDPDriver) box(ctx context.Context, target Target) (float64, float64, float64, float64, error) {\n\tif target.BackendDOMNodeID <= 0 {","sourceCodeStart":266,"sourceCodeEnd":302,"githubUrl":"https://github.com/JuliusBrussee/caveman/blob/27d5a3981a347890211bb1bf2439e5c821a63bc9/browse/cdp.go#L266-L302","documentation":"Error \"element not actionable: last box=%+v\" thrown in JuliusBrussee/caveman.","triggerScenarios":"Thrown at browse/cdp.go:284 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["The element is not actionable at its last box; scroll it into view or wait for layout, then retry."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"27d5a3981a347890211bb1bf2439e5c821a63bc9","analyzedAt":"2026-08-15T09:26:11.751Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}