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
[FEATURE REQUEST](playwright) migrate locators from ElementHandle to Locator. #3677
Because all the new Playwright functionality is tied to the Locator and it is impossible to use the new Playwright API for elements found through the ElementHandle only if it does not match with devtools-protocol API.
And in the ConceptJS, the elements are searched for in the old way.
Migration would be not so fast.
Activity
EgorBodnar commentedon Jun 4, 2023
As a temporary solution, use the function getXPathForElement(elementHandle) in the Playwright helper.
Because all the new Playwright functionality is tied to the Locator and it is impossible to use the new Playwright API for elements found through the ElementHandle only if it does not match with
devtools-protocolAPI.And in the ConceptJS, the elements are searched for in the old way.
Migration would be not so fast.
feat(playwright)/new api (#3665)