Skip to content

Force a DOM anchor on the navigation and teardown drains #285

Description

@vishnuv688

Part of #277

The JS drain uses collectorDrainExpression(forceAnchor) so a
freshly injected collector's async anchor is not lost. Python's drain never forces
an anchor, so a navigation destination's DOM can be missed entirely. Scope shrinks
once A6 lands, because the preload removes most of the race; keep this as the
narrow backstop the JS side kept.

Acceptance criteria

The post-navigation and teardown drains force a full-DOM
anchor. A short-lived destination page still anchors. Regression test over the
pure drain payload handling.

Size: M. Depends on A6.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestselenium-devtools-pyPython Selenium adapter for the DevTools dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions