jwebdriver_xpath 发表于 2021-01-14 更新于 2021-11-27 Disqus: UI Recorder jWebDriver 不支持括号开头的XPath, 如1(//input)[2]原因在于jWebDriver错误的认为括号开头的是css selector修改lib/elements.js12// using = /^\.?\//.test(value)?'xpath':'css selector';using = /^(\.|\()?\//.test(value)?'xpath':'css selector';