{"action":"opened","issue":{"url":"https://api.github.com/repos/codeborne/selenide/issues/312","repository_url":"https://api.github.com/repos/codeborne/selenide","labels_url":"https://api.github.com/repos/codeborne/selenide/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/codeborne/selenide/issues/312/comments","events_url":"https://api.github.com/repos/codeborne/selenide/issues/312/events","html_url":"https://github.com/codeborne/selenide/issues/312","id":146230704,"number":312,"title":"Customize selection for collection of elements - Selenide","user":{"login":"hana9090","id":2920520,"avatar_url":"https://avatars.githubusercontent.com/u/2920520?v=3","gravatar_id":"","url":"https://api.github.com/users/hana9090","html_url":"https://github.com/hana9090","followers_url":"https://api.github.com/users/hana9090/followers","following_url":"https://api.github.com/users/hana9090/following{/other_user}","gists_url":"https://api.github.com/users/hana9090/gists{/gist_id}","starred_url":"https://api.github.com/users/hana9090/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hana9090/subscriptions","organizations_url":"https://api.github.com/users/hana9090/orgs","repos_url":"https://api.github.com/users/hana9090/repos","events_url":"https://api.github.com/users/hana9090/events{/privacy}","received_events_url":"https://api.github.com/users/hana9090/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-06T08:20:15Z","updated_at":"2016-04-06T08:20:15Z","closed_at":null,"body":"How can I select the on of element, and this element contains a collection of elements, How can I select or pass through this element's collection? \r\n\r\n- the default search method `WebDriverRunner.getWebDriver().findElements(By.tagName(\"*\")); `\r\nis `$$(\"*\")`\r\nthey consider that default space to search is the whole document, how can I specify the region to search? Assume that I need the **a** tags from the region or from specific element.\r\n\r\nI have the following schema for my page:\r\n\r\n      <div class=\"class1\"> \r\n         <a href=\"\"  />\r\n         <a href=\"\"  />\r\n         <img src=\"img.png\" /> \r\n      </div>\r\n      <a href=\"\"  />\r\n      <a href=\"\"  />\r\n      <div class=\"class2\"> \r\n         <a href=\"\"  />\r\n         <div class=\"class4\"> <div>\r\n       </div>\r\n      \r\n\r\nHow can I pass all elements of **div class=\"class1\"**, ex: after select **div.class1** element, I need to see all elements inside this **div**.\r\n"}}