by.css Id space

2019-04-15 12:43发布

input id="custo pic"
element(by.css("#custo pic"))

space issue cause not found, change name="custo pic"

element(by.css('input[name="custno pic"]'))

热门文章