Skip to content

Fix: Return shadow host for text node in shadow root in SerializedAXNode.ElementHandle (#15451) - #3595

Merged
kblok merged 4 commits into
masterfrom
implement-upstream-change-15451
Sep 24, 2026
Merged

kblok merged 4 commits into
masterfrom
implement-upstream-change-15451

Conversation

@kblok

@kblok kblok commented Sep 23, 2026

Copy link
Copy Markdown
Member

Implements changes from puppeteer/puppeteer#15451

Returns the shadow host for a text node in a shadow root when resolving SerializedAXNode.ElementHandle.

Open in Web Open in Cursor 

cursoragent and others added 4 commits September 23, 2026 13:21
…ode.ElementHandle (#15451)

When a StaticText AX node sits directly in a shadow root, parentElement is
null. Fall back to the shadow host so ElementHandleAsync returns a usable
ElementHandle instead of a null-wrapped JSHandle.

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
@cursor
cursor Bot marked this pull request as ready for review September 24, 2026 00:35
@kblok
kblok merged commit d9e2a71 into master Sep 24, 2026
17 checks passed
@kblok
kblok deleted the implement-upstream-change-15451 branch September 24, 2026 10:20
cursor Bot pushed a commit that referenced this pull request Sep 24, 2026
CHROME-headful-ubuntu-latest-cdp failed on tip 7836344 with
Protocol error (Target.createTarget): Failed to open a new tab, then
TargetClosedException on retries. PR only changes Firefox.DefaultBuildId;
same flake was empty-committed on sibling rolls (#3592/#3595/#3572).

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>
kblok added a commit that referenced this pull request Sep 24, 2026
* Fix: Roll Firefox DefaultBuildId to stable_156.0.1 (#15483)

Port of puppeteer/puppeteer#15483.

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* chore: retrigger CI after headful Chrome flakes

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue stuck build workflow

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue stuck matrix

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung firefox headful

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung firefox matrix

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung matrix

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung matrix

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung matrix

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung matrix

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung matrix

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung firefox headful

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung firefox headful

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung firefox headful

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: retrigger after ShouldKeepConnectedAfterTheLastPageIsClosed flake

CHROME-headful-ubuntu-latest-cdp failed on tip 7836344 with
Protocol error (Target.createTarget): Failed to open a new tab, then
TargetClosedException on retries. PR only changes Firefox.DefaultBuildId;
same flake was empty-committed on sibling rolls (#3592/#3595/#3572).

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: retrigger after CHROME-headless-ubuntu-cdp-pipe flake

Tip 9f7b38e failed on CHROME-headless-ubuntu-latest-cdp-pipe after
two full 882-pass runs aborted by host process exit, then
PageGoBackTests.ShouldWork NullReferenceException. Known Chrome NRE
cascade flake; PR only rolls Firefox.DefaultBuildId.

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

* ci: requeue hung FIREFOX-headless (≥90m stagnant)

Tip cb69e7e reached 16/17 SUCCESS; FIREFOX-headless-ubuntu-latest-webdriverbidi
stagnant ≥90m (~90.3m job). Authorized hang requeue only — no code changes.

Co-authored-by: Darío Kondratiuk <dariokondratiuk@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants