【发布时间】:2019-06-06 11:41:25
【问题描述】:
我正在尝试使用 java selenium Web 驱动程序从站点 https://www.xe.com/currencyconverter/ 的两个下拉列表(货币选择)中选择值。
货币转换后我还需要验证转换的代码
我试过了:
1. Custom XPath.
2. Normal select using select keyword.
3. Tried using mouse actions but couldn't locate. Looks like it needs javascript executor but don't know the code.
org.openqa.selenium.ElementClickInterceptedException:元素点击被拦截:元素<div class="css-1wy0on6 converterform-dropdown__indicators">...</div>不可点击
【问题讨论】:
标签: javascript java selenium-webdriver dropdown