{"action":"created","issue":{"url":"https://api.github.com/repos/starofrainnight/rabird.selenium/issues/1","labels_url":"https://api.github.com/repos/starofrainnight/rabird.selenium/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/starofrainnight/rabird.selenium/issues/1/comments","events_url":"https://api.github.com/repos/starofrainnight/rabird.selenium/issues/1/events","html_url":"https://github.com/starofrainnight/rabird.selenium/issues/1","id":65853161,"number":1,"title":"Support multi-elements wait","user":{"login":"starofrainnight","id":9812391,"avatar_url":"https://avatars.githubusercontent.com/u/9812391?v=3","gravatar_id":"","url":"https://api.github.com/users/starofrainnight","html_url":"https://github.com/starofrainnight","followers_url":"https://api.github.com/users/starofrainnight/followers","following_url":"https://api.github.com/users/starofrainnight/following{/other_user}","gists_url":"https://api.github.com/users/starofrainnight/gists{/gist_id}","starred_url":"https://api.github.com/users/starofrainnight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starofrainnight/subscriptions","organizations_url":"https://api.github.com/users/starofrainnight/orgs","repos_url":"https://api.github.com/users/starofrainnight/repos","events_url":"https://api.github.com/users/starofrainnight/events{/privacy}","received_events_url":"https://api.github.com/users/starofrainnight/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/starofrainnight/rabird.selenium/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"starofrainnight","id":9812391,"avatar_url":"https://avatars.githubusercontent.com/u/9812391?v=3","gravatar_id":"","url":"https://api.github.com/users/starofrainnight","html_url":"https://github.com/starofrainnight","followers_url":"https://api.github.com/users/starofrainnight/followers","following_url":"https://api.github.com/users/starofrainnight/following{/other_user}","gists_url":"https://api.github.com/users/starofrainnight/gists{/gist_id}","starred_url":"https://api.github.com/users/starofrainnight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starofrainnight/subscriptions","organizations_url":"https://api.github.com/users/starofrainnight/orgs","repos_url":"https://api.github.com/users/starofrainnight/repos","events_url":"https://api.github.com/users/starofrainnight/events{/privacy}","received_events_url":"https://api.github.com/users/starofrainnight/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-02T06:32:59Z","updated_at":"2015-08-12T10:02:40Z","closed_at":null,"body":"Add ability to wait_element() that could wait multi-elements.\r\n\r\nMay be wait_element() should change like this:\r\n\r\nwait_element(self, {By.XPATH, \"//div\", By.ID, \"abc\"}, ...)\r\nwait_element(self, By.XPATH, [\"//div\", \"//abc\"], ...)"},"comment":{"url":"https://api.github.com/repos/starofrainnight/rabird.selenium/issues/comments/130244555","html_url":"https://github.com/starofrainnight/rabird.selenium/issues/1#issuecomment-130244555","issue_url":"https://api.github.com/repos/starofrainnight/rabird.selenium/issues/1","id":130244555,"user":{"login":"starofrainnight","id":9812391,"avatar_url":"https://avatars.githubusercontent.com/u/9812391?v=3","gravatar_id":"","url":"https://api.github.com/users/starofrainnight","html_url":"https://github.com/starofrainnight","followers_url":"https://api.github.com/users/starofrainnight/followers","following_url":"https://api.github.com/users/starofrainnight/following{/other_user}","gists_url":"https://api.github.com/users/starofrainnight/gists{/gist_id}","starred_url":"https://api.github.com/users/starofrainnight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starofrainnight/subscriptions","organizations_url":"https://api.github.com/users/starofrainnight/orgs","repos_url":"https://api.github.com/users/starofrainnight/repos","events_url":"https://api.github.com/users/starofrainnight/events{/privacy}","received_events_url":"https://api.github.com/users/starofrainnight/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T10:02:40Z","updated_at":"2015-08-12T10:02:40Z","body":"Use WebDriverWait with new expected condition \"conditions_matched\" to achieve this goal.\r\n\r\nFor example : \r\n  waiter = WebDriverWait(self.browser, 30)\r\n  matched_elements = waiter.until(EC.conditions_matched({\r\n      \"username\":{\"condition\":EC.xpath_find(\"//input[@id='fm-login-id']\")},\r\n      \"password\":{\"condition\":EC.xpath_find(\"//input[@id='fm-login-password']\")},           \r\n      \"submit\":{\"condition\":EC.xpath_find(\"//input[@id='fm-login-submit']\")},\r\n  }))\r\n        \r\n  matched_elements.username.clear()"}}