{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/6129","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/6129/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/6129/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/6129/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/6129","id":339327134,"node_id":"MDU6SXNzdWUzMzkzMjcxMzQ=","number":6129,"title":"Calling IndexOf() on a Collection throws NotImplementedException","user":{"login":"curtisy1","id":23632152,"node_id":"MDQ6VXNlcjIzNjMyMTUy","avatar_url":"https://avatars2.githubusercontent.com/u/23632152?v=4","gravatar_id":"","url":"https://api.github.com/users/curtisy1","html_url":"https://github.com/curtisy1","followers_url":"https://api.github.com/users/curtisy1/followers","following_url":"https://api.github.com/users/curtisy1/following{/other_user}","gists_url":"https://api.github.com/users/curtisy1/gists{/gist_id}","starred_url":"https://api.github.com/users/curtisy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curtisy1/subscriptions","organizations_url":"https://api.github.com/users/curtisy1/orgs","repos_url":"https://api.github.com/users/curtisy1/repos","events_url":"https://api.github.com/users/curtisy1/events{/privacy}","received_events_url":"https://api.github.com/users/curtisy1/received_events","type":"User","site_admin":false},"labels":[{"id":182503933,"node_id":"MDU6TGFiZWwxODI1MDM5MzM=","url":"https://api.github.com/repos/SeleniumHQ/selenium/labels/C-dotnet","name":"C-dotnet","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-09T07:00:26Z","updated_at":"2018-10-09T13:01:15Z","closed_at":null,"author_association":"NONE","body":"## Meta -\r\nOS:  Windows 10\r\nSelenium Version:  3.13.1 .NET\r\nBrowser:  Firefox\r\nBrowser Version:  63.0a1 (2018-07-08) (64-bit)\r\n\r\n## Expected Behavior -\r\nSince the element was found in the Collection, a proper index should be returned when calling ```Collection.IndexOf(element);```.\r\n\r\n## Actual Behavior -\r\nA System.NotImplementedException is thrown.\r\n```\r\n1531119112888   webdriver::server       DEBUG   -> GET /session/9676b5a3-4619-456d-95dc-f85d7677a56b/element/17729eda-aec3-4c7a-835c-27223f038b0b/equals/9d0b339f-811b-4079-b30d-5d0d886fbd81\r\n1531119112888   webdriver::server       DEBUG   <- 404 Not Found {\"value\":{\"error\":\"unknown command\",\"message\":\"GET /session/9676b5a3-4619-456d-95dc-f85d7677a56b/element/17729eda-aec3-4c7a-835c-27223f038b0b/equals/9d0b339f-811b-4079-b30d-5d0d886fbd81 did not match a known command\",\"stacktrace\":\"\"}}\r\n```\r\n## Steps to reproduce -\r\n```\r\n[Test]\r\n    public void TestCase() {\r\n      Browser.Driver.Navigate().GoToUrl(\"https://curtisy1.github.io/demo/indexof\");\r\n      var listOfParagraphs = Browser.Driver.FindElements(By.CssSelector(\"label\"));\r\n      var paragraphWithClassIndex = 0;\r\n\r\n      foreach (var paragraph in listOfParagraphs) {\r\n        if (paragraph.FindElement(By.XPath(\"../p\")).GetAttribute(\"class\").Contains(\"faildemo\")) {\r\n          paragraphWithClassIndex = listOfParagraphs.IndexOf(paragraph);\r\n          break;\r\n        }\r\n      }\r\n\r\n      Assert.That(paragraphWithClassIndex == 2);\r\n    }\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/428182554","html_url":"https://github.com/SeleniumHQ/selenium/issues/6129#issuecomment-428182554","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/6129","id":428182554,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODE4MjU1NA==","user":{"login":"curtisy1","id":23632152,"node_id":"MDQ6VXNlcjIzNjMyMTUy","avatar_url":"https://avatars2.githubusercontent.com/u/23632152?v=4","gravatar_id":"","url":"https://api.github.com/users/curtisy1","html_url":"https://github.com/curtisy1","followers_url":"https://api.github.com/users/curtisy1/followers","following_url":"https://api.github.com/users/curtisy1/following{/other_user}","gists_url":"https://api.github.com/users/curtisy1/gists{/gist_id}","starred_url":"https://api.github.com/users/curtisy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curtisy1/subscriptions","organizations_url":"https://api.github.com/users/curtisy1/orgs","repos_url":"https://api.github.com/users/curtisy1/repos","events_url":"https://api.github.com/users/curtisy1/events{/privacy}","received_events_url":"https://api.github.com/users/curtisy1/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T13:01:15Z","updated_at":"2018-10-09T13:01:15Z","author_association":"NONE","body":"@kkreddy1 Unfortunately I don't think there's any update on this yet. However one thing I noticed is that this might be a general error across all Selenium bindings. I opened up [6498](https://github.com/SeleniumHQ/selenium/issues/6498) because of that, so it would be best to check for any outcome there for now\r\n\r\n"}}
{"actor":{"display_login":"curtisy1"}}