Code - github/cypress-io/cypress - to check if an element is visible
这是此脚本的所有版本。 只显示代码更新过的版本
Included tree shook version of lodash
Removed lines that considered elements which were outside the view port and position: sticky to be hidden
position: sticky
Removed jQuery code that was accidentally left in
Fixed parentHasVisibilityHidden
parentHasVisibilityHidden