CdpSemanticTargeting class
Fresh, exact semantic targeting. Flutter proxy nodes are accepted only when the center hits the rendering surface in the same Flutter glass pane. The generic DOM actionability path continues to reject unrelated occluders.
Constructors
- CdpSemanticTargeting(CdpPage page, {Duration timeout = const Duration(seconds: 3), Duration pollInterval = const Duration(milliseconds: 50)})
- Creates targeting over an already-owned page; owns no browser lifecycle.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- page → CdpPage
-
Borrowed page facade.
final
- pollInterval → Duration
-
Delay between readiness observations.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration
-
Total bound for target readiness.
final
Methods
-
clickTarget(
SemanticTarget target) → Future< void> - Resolves one current target and dispatches one pointer click.
-
focusTarget(
SemanticTarget target) → Future< void> - Focuses the element and verifies element focus. This is not OS focus.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited