📄️ getByRoleUI5
getByRoleUI5 is a powerful locator that finds UI5 elements based on their control type and properties. Unlike standard Playwright locators that rely on the DOM structure, getByRoleUI5 communicates directly with the UI5 framework to find elements reliably.
📄️ locateSID
Learn how to use the locateSID locator in Playwright-SAP to reliably target and automate SAP GUI elements using their stable SID identifiers.
📄️ getByRoleSID
The getByRoleSID locator provides a more human-readable and maintainable alternative to the locateSID locator. While SID locators are powerful and stable for SAP GUI automation, they can be difficult to read and understand at a glance. The getByRoleSID locator solves this problem by translating role-based syntax into the corresponding SID format internally.