{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/nightmare/issues/178","labels_url":"https://api.github.com/repos/segmentio/nightmare/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/nightmare/issues/178/comments","events_url":"https://api.github.com/repos/segmentio/nightmare/issues/178/events","html_url":"https://github.com/segmentio/nightmare/issues/178","id":72872251,"number":178,"title":"Is that possible for using JQuery selector?","user":{"login":"lvyachao","id":3384807,"avatar_url":"https://avatars.githubusercontent.com/u/3384807?v=3","gravatar_id":"","url":"https://api.github.com/users/lvyachao","html_url":"https://github.com/lvyachao","followers_url":"https://api.github.com/users/lvyachao/followers","following_url":"https://api.github.com/users/lvyachao/following{/other_user}","gists_url":"https://api.github.com/users/lvyachao/gists{/gist_id}","starred_url":"https://api.github.com/users/lvyachao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvyachao/subscriptions","organizations_url":"https://api.github.com/users/lvyachao/orgs","repos_url":"https://api.github.com/users/lvyachao/repos","events_url":"https://api.github.com/users/lvyachao/events{/privacy}","received_events_url":"https://api.github.com/users/lvyachao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-03T21:58:21Z","updated_at":"2015-05-05T08:10:28Z","closed_at":null,"body":"I know nightmare using standard css selector. So here, when I want to using css path like this:\r\n\r\n    .click('body.sz1200 > div > div >a')  \r\nThis is worked.\r\nBut when I want to try \r\n\r\n     .click('body.sz1200 > div > div >a:eq(1)')\r\nWhich is worked in JQuery environment, but not work in Nightmare"},"comment":{"url":"https://api.github.com/repos/segmentio/nightmare/issues/comments/98989109","html_url":"https://github.com/segmentio/nightmare/issues/178#issuecomment-98989109","issue_url":"https://api.github.com/repos/segmentio/nightmare/issues/178","id":98989109,"user":{"login":"sinkingshriek","id":682197,"avatar_url":"https://avatars.githubusercontent.com/u/682197?v=3","gravatar_id":"","url":"https://api.github.com/users/sinkingshriek","html_url":"https://github.com/sinkingshriek","followers_url":"https://api.github.com/users/sinkingshriek/followers","following_url":"https://api.github.com/users/sinkingshriek/following{/other_user}","gists_url":"https://api.github.com/users/sinkingshriek/gists{/gist_id}","starred_url":"https://api.github.com/users/sinkingshriek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinkingshriek/subscriptions","organizations_url":"https://api.github.com/users/sinkingshriek/orgs","repos_url":"https://api.github.com/users/sinkingshriek/repos","events_url":"https://api.github.com/users/sinkingshriek/events{/privacy}","received_events_url":"https://api.github.com/users/sinkingshriek/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T08:10:28Z","updated_at":"2015-05-05T08:10:28Z","body":"That's primarily because `:eq` is `jQuery` only feature. I believe you can still use `nth-child` selector from `CSS` which does something similar except that it starts with 1 index than 0 index that `:eq` starts with."}}