{"action":"closed","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/538","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/538/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/538/events","html_url":"https://github.com/webdriverio/webdriverio/issues/538","id":78480305,"number":538,"title":"why client.frame has to set id instead xpath","user":{"login":"zhangmeng712","id":1312529,"avatar_url":"https://avatars.githubusercontent.com/u/1312529?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangmeng712","html_url":"https://github.com/zhangmeng712","followers_url":"https://api.github.com/users/zhangmeng712/followers","following_url":"https://api.github.com/users/zhangmeng712/following{/other_user}","gists_url":"https://api.github.com/users/zhangmeng712/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangmeng712/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangmeng712/subscriptions","organizations_url":"https://api.github.com/users/zhangmeng712/orgs","repos_url":"https://api.github.com/users/zhangmeng712/repos","events_url":"https://api.github.com/users/zhangmeng712/events{/privacy}","received_events_url":"https://api.github.com/users/zhangmeng712/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-20T11:09:27Z","updated_at":"2015-06-03T14:40:01Z","closed_at":"2015-06-03T14:40:01Z","body":"I use the client.frame api to try to switch to iframe to fill login information, however the iframe has no id attribute instead it has class attribute, but the api has not support selector such as className,is there any way I can still switch to the login iframe?"}}