v0.22.1
Added 1
- Added ErrTargetDetached, which commands return when their target is detached. behavior changed · inferred, marked in the notes below
Fixed 2
- A pending command now returns an error wrapping the new ErrTargetDetached when the browser detaches its target, instead of waiting until its context ends.
- A command that starts on an already detached target now fails immediately.
1 change to check, marked in the notes below
From chromedp
Fix: a command that is still pending when the browser detaches its target, for example when the page closes, now returns an error that wraps the new ErrTargetDetached. Before, Chrome sent no reply and the command waited until its context ended. A command that starts on a detached target fails at once. The issue was reported by onsi in discussion #1645. behavior changed · inferred