selenium 遇到classname 有空格的时候

上一篇 / 下一篇  2018-12-07 17:10:48 / 个人分类:selenium


当classname中有空格的时候,会提示:invalid selector: Compound class names not permitted

原来的是:By.CLASS_NAME, "f_L toolong w540"

改为:By.CLASS_NAME, "f_L.toolong w540"

TAG:

 

评分:0

我来说两句

Open Toolbar