Locator alias for Playwright library

Does the playwright library support the alias locators?

I have created a locators.json file which has all the locators.
I want to reference the specific locators from the tasks.robot file using the alias keyword.

The alias use works fine with the Selenium library but fails with Playwright.

Hi, @RoBoChImP! Currently, only the RPA.Browser.Selenium supports locator aliases.

@osrjv: Any future roadmap plans (that you know of) for adding locator alias support to RPA.Browser.Playwright?

1 Like