{"record":{"id":"b93742907bc51421","repo":"grafana/k6","slug":"checking-is-q-editable-w","errorCode":null,"errorMessage":"checking is %q editable: %w","messagePattern":"checking is %q editable: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/js/modules/k6/browser/common/frame.go","lineNumber":1414,"sourceCode":"\treturn f.detached\n}\n\n// setDetached sets the frame detachment.\nfunc (f *Frame) setDetached(detached bool) {\n\tf.propertiesMu.Lock()\n\tdefer f.propertiesMu.Unlock()\n\n\tf.detached = detached\n}\n\n// IsEditable returns true if the first element that matches the selector\n// is editable. Otherwise, returns false.\nfunc (f *Frame) IsEditable(selector string, opts *FrameIsEditableOptions) (bool, error) {\n\tf.log.Debugf(\"Frame:IsEditable\", \"fid:%s furl:%q sel:%q\", f.ID(), f.URL(), selector)\n\n\teditable, err := f.isEditable(selector, opts)\n\tif err != nil {\n\t\treturn false, fmt.Errorf(\"checking is %q editable: %w\", selector, err)\n\t}\n\n\treturn editable, nil\n}\n\nfunc (f *Frame) isEditable(selector string, opts *FrameIsEditableOptions) (bool, error) {\n\tisEditable := func(apiCtx context.Context, handle *ElementHandle) (any, error) {\n\t\tv, err := handle.isEditable(apiCtx, 0) // Zero timeout when checking state\n\t\tif errors.Is(err, ErrTimedOut) {       // We don't care about timeout errors here!\n\t\t\treturn v, nil\n\t\t}\n\t\treturn v, err\n\t}\n\tact := f.newAction(\n\t\tselector, DOMElementStateAttached, opts.Strict, isEditable, []string{}, false, withRetry, true, opts.Timeout,\n\t)\n\tv, err := call(f.ctx, act, opts.Timeout)\n\tif err != nil {","sourceCodeStart":1396,"sourceCodeEnd":1432,"githubUrl":"https://github.com/grafana/k6/blob/93accf6570dcd306ca5e99cc44c393ee3797761b/internal/js/modules/k6/browser/common/frame.go#L1396-L1432","documentation":"Error \"checking is %q editable: %w\" thrown in grafana/k6.","triggerScenarios":"Thrown at internal/js/modules/k6/browser/common/frame.go:1414 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"93accf6570dcd306ca5e99cc44c393ee3797761b","analyzedAt":"2026-08-15T21:23:27.118Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}