禁用的列表元素不可单击

时间:2019-06-17 21:23:46

标签: selenium-webdriver

列表项似乎已禁用,并且不会显示单击错误。但是用户界面中的项目已启用并且可以手动单击。

FAILED: SIAttrprepopulation_GTIN("00405756255412", "\src\test\resources\ItemManagerTestdata\", "customtoJSON", "src/test/resources/ItemManagerTestdata/", "SItoJSON", "pkConfigToJSON", "575625541", "0040575625541")
org.openqa.selenium.WebDriverException: unknown error: Element <li class="button-dropdown__buttonDropdownOption___-gu8b view-switch-dropdown__optionContainer___1AikI">...</li> is not clickable at point (341, 163). Other element would receive the click: <li class="button-dropdown__buttonDropdownOption___-gu8b button-dropdown__buttonDropdownSelected___2dLIF view-switch-dropdown__active___3UTr0 view-switch-dropdown__optionContainer___1AikI">...</li>
 (Session info: chrome=74.0.3729.108)
 (Driver info: chromedriver=2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 66 milliseconds

0 个答案:

没有答案