Determines whether a RemoteBrowserControlMode is valid given a backend's capabilities.
A mode is only valid when the backend supports the capabilities it requires:
AgentOnly
ViewOnly
LiveView
Collaborative
HumanTakeover
The control mode to validate.
The backend's capability flags.
true when the backend can support the mode, false otherwise.
true
false
Determines whether a RemoteBrowserControlMode is valid given a backend's capabilities.
A mode is only valid when the backend supports the capabilities it requires:
AgentOnly— always valid (the agent drives; no viewing/takeover prerequisite).ViewOnly— requiresLiveView(humans must be able to watch).Collaborative— requiresLiveViewandHumanTakeover(humans watch and can take over).