← Back to Discord Forum

Is it possible customize the highlight element?

I want to customize the highlight() function. Instead of add the blue and locator to the element I would like to show only some border, I want to add different borders to the element, for example some can be red, another orange. And due to I am adding screenshots sometimes the locator name is added to the screenshot .

This thread is trying to answer question "Is it possible to customize the highlight function to change the border color and prevent the locator name from being added to screenshots?"

0 replies

Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.