Javascript – I am facing a problem to verify element visibility if element in visible or not using cypress
When I try cy.get('div.userId') I want to add condition div.userId is exists/not in dom. I am expecting not to fail test before checking existence of element in dom. Like sometimes div.userId is not visible and cy.get(div.userId) fails but we ma…