尝试获取阴影元素的属性,但获取ElementNotVisibleException Element with CSS input[type='checkbox'] is not present on----> </label>
</checkbox> 使用Selenium获取元素属性 WebElement
我正在构建一个菜单,它使用:hover伪类来显示框阴影。 Here's a nav item as normal和here's the same item under :hover。我使用transform属性对长方体阴影应用倾斜,使其看起来像一条粗壮的、重叠的、倾斜的下划线。hover { transform: skew(-20deg);}