// outerWidth() scaled by the current zoom
ele.renderedOuterWidth(): number | undefinedouterWidth() scaled by the current zoom.
Returns
number | undefinedthe rendered outer width, or undefined when empty or removed
Example
cy.zoom(2);console.log(cy.getElementById('a').renderedOuterWidth()); // 60