Skip to content

Commit

Permalink
Update js/modules/k6/browser/common/execution_context.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan <[email protected]>
  • Loading branch information
ankur22 and codebien authored Jan 14, 2025
1 parent 45e8b6a commit 5a8f184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/modules/k6/browser/common/execution_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (e *ExecutionContext) adoptBackendNodeID(backendNodeID cdp.BackendNodeID) (
// This can occur due to race conditions between trying to click on an element
// and chrome moving on (e.g. navigating).
if remoteObj == nil {
return nil, fmt.Errorf("the page may have navigated away or the element is now missing: %w", err)
return nil, fmt.Errorf("the page may have navigated away or the element is now missing. It might happen when k6 and/or Chrome are overloaded. You might need to increase the compute resources: %w", err)

Check failure on line 119 in js/modules/k6/browser/common/execution_context.go

View workflow job for this annotation

GitHub Actions / lint

the line is 203 characters long, which exceeds the maximum of 120 characters. (lll)
}

return NewJSHandle(e.ctx, e.session, e, e.frame, remoteObj, e.logger).AsElement(), nil
Expand Down

0 comments on commit 5a8f184

Please sign in to comment.