{"action":"closed","issue":{"url":"https://api.github.com/repos/florentbr/SeleniumBasic/issues/37","labels_url":"https://api.github.com/repos/florentbr/SeleniumBasic/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/florentbr/SeleniumBasic/issues/37/comments","events_url":"https://api.github.com/repos/florentbr/SeleniumBasic/issues/37/events","html_url":"https://github.com/florentbr/SeleniumBasic/issues/37","id":116131821,"number":37,"title":"additional question to how to select multiple links / element ids ","user":{"login":"bleeet","id":12282986,"avatar_url":"https://avatars.githubusercontent.com/u/12282986?v=3","gravatar_id":"","url":"https://api.github.com/users/bleeet","html_url":"https://github.com/bleeet","followers_url":"https://api.github.com/users/bleeet/followers","following_url":"https://api.github.com/users/bleeet/following{/other_user}","gists_url":"https://api.github.com/users/bleeet/gists{/gist_id}","starred_url":"https://api.github.com/users/bleeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleeet/subscriptions","organizations_url":"https://api.github.com/users/bleeet/orgs","repos_url":"https://api.github.com/users/bleeet/repos","events_url":"https://api.github.com/users/bleeet/events{/privacy}","received_events_url":"https://api.github.com/users/bleeet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-10T15:37:49Z","updated_at":"2015-11-10T16:31:32Z","closed_at":"2015-11-10T16:31:32Z","body":"hi florentbr,\r\n\r\nthanks so much for the help and sorry I have a lot of questions due to me trying to figure out how to code in selenium 2,0.  I ask you a question you you prvided a code\r\n\r\n<code>Private Sub Handle_Multi_Select()\r\n  Dim driver As New FirefoxDriver, Keys As New Keys\r\n  driver.Get \"http://odyniec.net/articles/multiple-select-fields\"\r\n\r\n  Dim ele As WebElement\r\n  For Each ele In driver.FindElementsByXPath(\"//select[@name='ingredients[]']/option\")\r\n    ele.Click Keys.Control\r\n  Next\r\n\r\n  driver.Quit\r\nEnd Sub</code>\r\n\r\n\r\nI don't want to to loop through the table so I am trying to click and then hold control after clicking the link to keep the option highlighted\r\n\r\nI tried this \r\n\r\n\r\n<code>\r\nDim driver As New ChromeDriver, keys As New keys\r\n\r\ndriver.findElementById(\"ctl00_ContentPlaceHolder1_PgCntrl_CreateUserWizard_AvailableRoles_LBI0T0\").Click\r\n\r\n\r\n\r\ndriver.keys.Control\r\n</code>\r\n\r\nI am getting an error  \"Invalid use of property\". What am i doing wrong? I am guessing I have to use the <code>keys As New keys</code> in order to use the keyboard function right?\r\n\r\n\r\n\r\n"}}