I am new to cypress and I would like to know if there is a way to highlight the element that is being selected when Tab() command/function is used on Cypress?
Here is my code
cy.get('#ComName')
.type("PRINTTK")
.tab()
.focused()
cy.get('#UserName')
.type("BarbaraS")
.tab()
cy.get('#PSWD')
.type("PSWD1234")
.tab()
.focused()
This is the Tab() code
/// <reference types="cypress" />
declare namespace Cypress {
interface Chainable {
tab(options?: Partial<{ shift: Boolean }>): Chainable
}
}