Skip to content

Version Packages#1132

Merged
wswebcreation merged 3 commits intomainfrom
changeset-release/main
Apr 4, 2026
Merged

Version Packages#1132
wswebcreation merged 3 commits intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 4, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@wdio/image-comparison-core@1.2.1

Patch Changes

  • d5afb54: ## BUG: scrollElementIntoView recieves a promise #1129 Fix TypeError: element.getBoundingClientRect is not a function when a ChainablePromiseElement is passed to checkElement

    When checkElement (or saveElement) was called with a ChainablePromiseElement, the lazy promise-based element reference that WebdriverIO's $() returns, the element was passed directly as an argument to browser.execute() without being awaited first. browser.execute() serializes its arguments for transfer to the browser context and cannot handle a pending Promise, so it arrived in the browser as a plain empty object {} instead of a WebElement reference. This caused element.getBoundingClientRect is not a function because the browser-side scrollElementIntoView script received {} rather than a DOM element.

    Committers: 1

@wdio/visual-service@9.2.1

Patch Changes

  • Updated dependencies [d5afb54]
    • @wdio/image-comparison-core@1.2.1

@wswebcreation wswebcreation merged commit b7374d6 into main Apr 4, 2026
9 of 13 checks passed
@wswebcreation wswebcreation deleted the changeset-release/main branch April 4, 2026 08:17
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