You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IF element is not visible, or either width or height=0 this method will fail
comment updated as pe suggestion from aaltat:
Because it is not defined anywhere. I would just say:
The element width and height is returned.
An update for tests. In case element is doesn't have width or height method must fail. Example for a <div></> which does not contain anything
Empty div will have height=0, and width will be equal to screen size.
Empty div will have height=0, and width will be equal to screen size.
Updates advised by Tatu Aalto
Forgot to update test
0 commit comments