<button>
我尝试使用Selenium中的findElements,但不断获得
renderList = () => {
return searchHelpers.logicalExamples.map((tagsArray) =>
<li className="label">
{tagsArray.map((tag, i) => (
<button>
<span className="selected">{tag.name}</span>
</button>
}
))
</li>
);
};
对此我能做些什么?
答案 0 :(得分:0)
我看过它是这样导入的(对我来说很奇怪):
var webdriver = require('selenium-webdriver'),
By = webdriver.By,
until = webdriver.until;