{"action":"closed","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2814","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2814/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2814/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2814/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/2814","id":178469518,"number":2814,"title":"FirefoxDriver findElement By.tagName error","user":{"login":"SrMouraSilva","id":5341804,"avatar_url":"https://avatars.githubusercontent.com/u/5341804?v=3","gravatar_id":"","url":"https://api.github.com/users/SrMouraSilva","html_url":"https://github.com/SrMouraSilva","followers_url":"https://api.github.com/users/SrMouraSilva/followers","following_url":"https://api.github.com/users/SrMouraSilva/following{/other_user}","gists_url":"https://api.github.com/users/SrMouraSilva/gists{/gist_id}","starred_url":"https://api.github.com/users/SrMouraSilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SrMouraSilva/subscriptions","organizations_url":"https://api.github.com/users/SrMouraSilva/orgs","repos_url":"https://api.github.com/users/SrMouraSilva/repos","events_url":"https://api.github.com/users/SrMouraSilva/events{/privacy}","received_events_url":"https://api.github.com/users/SrMouraSilva/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-21T21:40:26Z","updated_at":"2016-09-21T22:06:01Z","closed_at":"2016-09-21T22:06:01Z","body":"## Meta -\r\nOS:  Ubuntu 16.04\r\nSelenium Version:  3.0.0-beta3 (in 3.0.0-beta2 works!)\r\nBrowser:  Firefox\r\n\r\nIf the issue is with Firefox GeckoDriver (aka Marionette) consider logging an issue with Mozilla:\r\nhttps://bugzilla.mozilla.org/buglist.cgi?product=Testing&component=Marionette\r\n\r\nBrowser Version:  48.0 (Usign geckodriver v0.10.0)\r\n\r\n## Expected Behavior\r\n\r\nPossible find elements usign tagName\r\n\r\n## Actual Behavior\r\n\r\nNot possible find elements usign tagName in 3.0.0-beta3.\r\n3.0.0-beta2 works\r\n\r\n## Steps to reproduce\r\n\r\n```java\r\nimport java.io.File;\r\n\r\nimport org.junit.Test;\r\nimport org.openqa.selenium.By;\r\nimport org.openqa.selenium.WebDriver;\r\nimport org.openqa.selenium.firefox.FirefoxDriver;\r\n\r\npublic class PaginaUtilsTeste {\r\n\t@Test\r\n\tpublic void executeScriptTest() {\r\n\t\tFile GECKODRIVER_URL = new File(. . .);\r\n\t\tSystem.setProperty(\"webdriver.gecko.driver\", GECKODRIVER_URL.toString());\r\n\r\n\t\tWebDriver driver = new FirefoxDriver();\r\n\t\tdriver.get(\"http://www.ufc.br\");\r\n\t\tSystem.out.println(driver.findElement(By.cssSelector(\"body\")));\r\n\t\tSystem.out.println(driver.findElement(By.tagName(\"body\"))); // ERROR\r\n\t}\r\n}\r\n```\r\n\r\n```\r\norg.openqa.selenium.NoSuchElementException: Unable to locate element: #body (WARNING: The server did not provide any stacktrace information)\r\nCommand duration or timeout: 10 milliseconds\r\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\r\nBuild info: version: 'unknown', revision: 'c7b525d', time: '2016-09-01 14:57:44 -0700'\r\nSystem info: host: 'localhost.localdomain', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-38-generic', java.version: '1.8.0_45'\r\nDriver info: org.openqa.selenium.firefox.FirefoxDriver\r\nCapabilities [{rotatable=false, raisesAccessibilityExceptions=false, appBuildId=20160728203720, version=, platform=LINUX, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, browserVersion=48.0, platformVersion=4.4.0-38-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=Firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=Linux, device=desktop}]\r\nSession ID: b7c77207-42b5-4783-aa2f-7ac48ba367ca\r\n*** Element info: {Using=tag name, value=body}\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:422)\r\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)\r\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:631)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:369)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElementByTagName(RemoteWebDriver.java:442)\r\n\tat org.openqa.selenium.By$ByTagName.findElement(By.java:334)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:361)\r\n\tat comum.util.selenium.PaginaUtilsTeste.executeScriptTest(PaginaUtilsTeste.java:50)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n\tat org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)\r\n\tat org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)\r\n```"}}
{"actor":{"display_login":"lukeis"}}