You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 342d020
Browse filesBrowse the repository at this point in the historyBrowse files
fix(typings): type grabWebElement(s) as CodeceptJS.WebElement (#5786) (#5787)
* fix(typings): type grabWebElement(s) as CodeceptJS.WebElement (#5786)
Generate a CodeceptJS.WebElement declaration from lib/element/WebElement.js
and use it as the return type of grabWebElement() and grabWebElements().
Fix WebElement JSDoc that jsdoc could not parse or that referenced
undefined types, and mark click()/type() options as optional.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(Puppeteer): return WebElement from grabWebElement()
A duplicate grabWebElement() overrode the WebElement-returning one and
returned the raw ElementHandle, contradicting the new typings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(webapi): check grabWebElement() result via toOuterHTML()
getText() is not implemented for CDPBrowser's WebElement, which broke
the Lightpanda, Moli and Obscura jobs. toOuterHTML() works on all
helpers and still fails on a raw Puppeteer ElementHandle.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments