{"action":"opened","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1622","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1622/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1622/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1622/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/1622","id":132739926,"number":1622,"title":"By.LinkText() doesn't work in Edge for button with span inside","user":{"login":"Omorocker","id":17162252,"avatar_url":"https://avatars.githubusercontent.com/u/17162252?v=3","gravatar_id":"","url":"https://api.github.com/users/Omorocker","html_url":"https://github.com/Omorocker","followers_url":"https://api.github.com/users/Omorocker/followers","following_url":"https://api.github.com/users/Omorocker/following{/other_user}","gists_url":"https://api.github.com/users/Omorocker/gists{/gist_id}","starred_url":"https://api.github.com/users/Omorocker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Omorocker/subscriptions","organizations_url":"https://api.github.com/users/Omorocker/orgs","repos_url":"https://api.github.com/users/Omorocker/repos","events_url":"https://api.github.com/users/Omorocker/events{/privacy}","received_events_url":"https://api.github.com/users/Omorocker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-10T15:59:24Z","updated_at":"2016-02-10T15:59:24Z","closed_at":null,"body":"I have this HTML:\r\n```\r\n<button type=\"button\" class=\"greenButton_arrow\">\r\n  <span>\r\n    <span>zur Kasse</span>\r\n  </span>\r\n</button>\r\n\r\n```\r\nIf I do\r\n```\r\nIWebElement.FindElement(By.LinkText(\"zur Kasse\"));\r\n```\r\nthen nothing is found in Edge. In Chrome, Firefox, MSIE and Opera, this works fine.\r\n\r\nIf I do\r\n```\r\nstring text = IWebElement.FindElement(By.XPath(\"//button[@type='button'][.//span[text()='zur Kasse']]\")).Text;\r\n```\r\nthen I get: \"\\r\\nzur Kasse\""}}