Repository navigation
Conversation
🦋 Changeset detectedLatest commit: f8d57f1 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
This PR is from an external contributor and must be approved by a stagehand team member with write access before CI can run. |
|
One merge-order edge with #3443: this PR keeps |
5d4c2fd to
62cf7cb
Compare
Signed-off-by: Aditya Datta <[email protected]>
|
Hey @iyuzhang and @adity982, hope you're both doing well! Thanks for catching this, iyuzhang. And adity982, the I opened #3443, so I wanted to check how the two actually combine instead of guessing. I merged both branches locally:
One thing on my side: #3443's unit table mocks |
Summary
nth()andfirst()calls as an index path through the TypeScript and Python SDKs.nthwire field for compatibility.Fixes #3444
Validation
File path cannot be resolvedfor all 10 integration tests.Summary by cubic
Fixes chained
nth()andfirst()locator calls so earlier index selections are no longer lost, resolving #3444. Previously.nth(2).first()collapsed to a single index and selected the wrong element; the chained indices are now preserved as a path across both SDKs, the protocol, and extension resolution.count()on a chained locator now reflects the full path, returning 1 when the path resolves and 0 otherwise.Protocol
nth_pathwire field to all locator requests while keeping the existingnthfield for backwards compatibility, and bumps the protocol to3.2.0.Written for commit f8d57f1. Summary will update on new commits.