{"comment":{"url":"https://api.github.com/repos/justindarc/gaia/comments/13194576","html_url":"https://github.com/justindarc/gaia/commit/f23c05de07cdcfd98db9373ec5e06212701511f5#commitcomment-13194576","id":13194576,"user":{"login":"hfiguiere","id":114441,"avatar_url":"https://avatars.githubusercontent.com/u/114441?v=3","gravatar_id":"","url":"https://api.github.com/users/hfiguiere","html_url":"https://github.com/hfiguiere","followers_url":"https://api.github.com/users/hfiguiere/followers","following_url":"https://api.github.com/users/hfiguiere/following{/other_user}","gists_url":"https://api.github.com/users/hfiguiere/gists{/gist_id}","starred_url":"https://api.github.com/users/hfiguiere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfiguiere/subscriptions","organizations_url":"https://api.github.com/users/hfiguiere/orgs","repos_url":"https://api.github.com/users/hfiguiere/repos","events_url":"https://api.github.com/users/hfiguiere/events{/privacy}","received_events_url":"https://api.github.com/users/hfiguiere/received_events","type":"User","site_admin":false},"position":44,"line":251,"path":"dev_apps/music-nga/test/marionette/Player_test.js","commit_id":"f23c05de07cdcfd98db9373ec5e06212701511f5","created_at":"2015-09-12T01:40:37Z","updated_at":"2015-09-12T01:40:37Z","body":"The reason I have that pattern of \"get the frame selector, assert and switch to it\" is because ````switchToFrame()```` to an undefined value will silently work - I find that bad API design, but hey, it is JavaScript and its dynamic incorrectness. So I had these safeguards against my own stupidity of typos. Saved me many times."}}