The below code highlights the 'Computer' link but the highlighted text is not seen in the screenshot.
Scenario: Sample UI automation test
* configure driver = {type: 'chrome'}
Given driver 'https://www.amazon.in/'
Then maximize()
* highlight("//a[text()='Computers']")
* delay(3000)
* screenshot()
* screenshot("//a[text()='Computers']")
Is there a way we can capture highlighted area in screenshot