写选择器的时候,确实很容易忽略掉“”
Selector 'div[data-id=1]' problem #1235
antonioribeiro commented on 23 Jul 2014
I was trying to select this html: Using this selector: Which works using jQuery, but not on Codeception. And, as a matter of fact I started by trying to select: Which also works using jQuery, directly in browser and using WebDriver (PhantomJS). Is this the expected behaviour? |
Contributor
pablopaul commented on 23 Jul 2014
@antonioribeiro you are missing the double quotes around "1", your locator should look like |