我有一个问题。我在Firefox和Chrome上运行测试。在Firefox上测试运行正常,但在Chrome上,SauceLabs会提示以下消息:
unknown error: Element is not clickable at point (717, 657). Other
element would receive the click: <div class="col-md-9 col-sm-12"
style="margin-top:8px;">...</div> (Session info: chrome=36.0.1985.125)
(Driver info: chromedriver=2.10.267521,platform=Windows NT 6.3 x86_64)
我在两个测试中以相同的方式通过唯一的CSS选择器选择元素:
driver.FindElement(By.CssSelector("button.btn-xs:nth-child(1)")).Click();
这里有什么问题,有什么想法吗?