org.openqa.selenium.ElementNotVisibleException: Element not displayed . The same code works fine in latest IE-11, FireFox and Chrome browsers. Detail error is given below. org.openqa.selenium.ElementNotVisibleException: Element not displayed (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 6 milliseconds Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'MSEDGEWIN10', ip: 'xxx.17.31.xxx', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_77' Driver info: org.openqa.selenium.edge.EdgeDriver Capabilities [{acceptSslCerts=true, browserVersion=25.10586.0.0, platformVersion=10, browserName=MicrosoftEdge, takesScreenshot=true, pageLoadStrategy=normal, takesElementScreenshot=true, platformName=windows, platform=ANY}] Session ID: BEBA21E0-B278-48E4-89F8-D7ECBC3115A4

Stack Overflow | Sakthi | 12 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    In Microsoft edge browser - getting error org.openqa.selenium.ElementNotVisibleException: Element not displayed

    Stack Overflow | 12 months ago | Sakthi
    org.openqa.selenium.ElementNotVisibleException: Element not displayed . The same code works fine in latest IE-11, FireFox and Chrome browsers. Detail error is given below. org.openqa.selenium.ElementNotVisibleException: Element not displayed (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 6 milliseconds Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'MSEDGEWIN10', ip: 'xxx.17.31.xxx', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_77' Driver info: org.openqa.selenium.edge.EdgeDriver Capabilities [{acceptSslCerts=true, browserVersion=25.10586.0.0, platformVersion=10, browserName=MicrosoftEdge, takesScreenshot=true, pageLoadStrategy=normal, takesElementScreenshot=true, platformName=windows, platform=ANY}] Session ID: BEBA21E0-B278-48E4-89F8-D7ECBC3115A4
  2. 0

    h1. Overview [EventCalendarODTest testReminderEvent|https://engservices-bamboo.internal.atlassian.com/browse/CU-RUNATS-SQTQFY1-1046/test/case/130936804] is failing in the https://engservices-bamboo.internal.atlassian.com/browse/CU-RUNATS-1046 build. It appears the test first started failing in https://engservices-bamboo.internal.atlassian.com/browse/CU-RUNATS-1018/ {noformat:title=test output} org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with Command duration or timeout: 7 milliseconds Build info: version: '2.27.0', revision: '18259', time: '2012-12-05 11:30:53' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-66-generic', java.version: '1.8.0_60' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=12.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: cbd3c925-1a12-402b-9b4e-029be2d6fff5 INFO: This test comes from "com.atlassian.confluence.extra.team-calendars:teamcal-stateless-webdriver-tests:5.3.9-D20151023T031105" and was run with following categories: "com.atlassian.test.categories.OnDemandAcceptanceTest, com.atlassian.test.categories.OnDemandSuiteTest". INFO: Test runner was invoked with following arguments: ['./prepare-and-run-artifact-od-tests.py', '--remote-url', 'https://test-233238-cu-runats-sqtqfy1-1046.jira-dev.com', '-g', u'com.atlassian.confluence.extra.team-calendars', '-a', u'teamcal-stateless-webdriver-tests', '-v', u'5.3.9-D20151023T031105', '--custom-test-group', u'com.atlassian.test.categories.OnDemandAcceptanceTest,com.atlassian.test.categories.OnDemandSuiteTest', '--force-mvn-version', '3', '--force-java-version', '8', '--ssh-tunnel', '4990:4990', '-X'] org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with Command duration or timeout: 7 milliseconds Build info: version: '2.27.0', revision: '18259', time: '2012-12-05 11:30:53' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-66-generic', java.version: '1.8.0_60' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=12.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: cbd3c925-1a12-402b-9b4e-029be2d6fff5 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:187) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:533) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:246) at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:79) at com.atlassian.pageobjects.elements.WebDriverElement.click(WebDriverElement.java:184) at com.atlassian.confluence.extra.calendar3.webdriver.page.SubCalendarItem.getDropDownMenuForEventType(SubCalendarItem.java:52) at com.atlassian.confluence.extra.calendar3.webdriver.page.SubCalendarPanelPage.getChildSubCalendarName(SubCalendarPanelPage.java:153) at com.atlassian.confluence.extra.calendar3.webdriver.page.SubCalendarPanelPage.clickChildSubCalendarMenu(SubCalendarPanelPage.java:146) at com.atlassian.confluence.extra.calendar3.webdriver.page.SubCalendarPanelPage.isAddANewReminder(SubCalendarPanelPage.java:164) at it.com.atlassian.confluence.extra.calendar3.webdriver.odtest.EventCalendarODTest.testReminderEvent(EventCalendarODTest.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at com.atlassian.confluence.test.stateless.StatelessTestRunner$3.evaluate(StatelessTestRunner.java:375) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at com.atlassian.confluence.test.stateless.StatelessTestRunner$2$1.evaluate(StatelessTestRunner.java:269) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at com.atlassian.confluence.test.stateless.StatelessTestRunner$2.evaluate(StatelessTestRunner.java:276) at com.atlassian.confluence.test.stateless.ConfluenceStatelessTestRunner$1.evaluate(ConfluenceStatelessTestRunner.java:173) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:62) at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Element is not currently visible and so may not be interacted with Build info: version: '2.27.0', revision: '18259', time: '2012-12-05 11:30:53' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-66-generic', java.version: '1.8.0_60' Driver info: driver.version: unknown at <anonymous class>.<anonymous method>(file:///tmp/anonymous1145069612501246706webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:7537) at <anonymous class>.<anonymous method>(file:///tmp/anonymous1145069612501246706webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10203) at <anonymous class>.<anonymous method>(file:///tmp/anonymous1145069612501246706webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10222) at <anonymous class>.<anonymous method>(file:///tmp/anonymous1145069612501246706webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10227) at <anonymous class>.<anonymous method>(file:///tmp/anonymous1145069612501246706webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10167) {noformat}

    Atlassian JIRA | 2 years ago | Graham Gatus [Atlassian]
    org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with Command duration or timeout: 7 milliseconds Build info: version: '2.27.0', revision: '18259', time: '2012-12-05 11:30:53' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-66-generic', java.version: '1.8.0_60' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=12.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: cbd3c925-1a12-402b-9b4e-029be2d6fff5
  3. 0

    #16346 (Buttons with Style ValoTheme.BUTTON_QUIET are not testable with testbench) – Vaadin

    vaadin.com | 8 months ago
    org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with Command duration or timeout: 53 milliseconds Build info: version: '2.44.0', revision: '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23 13:11:40' System info: host: 'MYHOST', ip: 'MYIP', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_71' Session ID: 08825d80-827c-4d22-8718-faba458b2ac0 Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{platform=WINDOWS, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=27.0}]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to click on a page in the drop-down menu - IntelliJ

    Stack Overflow | 4 months ago | MY DZON
    org.openqa.selenium.ElementNotVisibleException: element not visible (Session info: chrome=54.0.2840.99) (Driver info: chromedriver=2.25.426923 (0390b88869384d6eb0d5d09729679f934aab9eed),platform=Windows NT 6.3.9600 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 83 milliseconds Build info: version: 'unknown', revision: 'c7b525d', time: '2016-09-01 14:57:44 -0700' System info: host: 'Gaga', ip: '192.168.1.6', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_101' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.25.426923 (0390b88869384d6eb0d5d09729679f934aab9eed), userDataDir=C:\Users\Dragana\AppData\Local\Temp\scoped_dir7972_17045}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=54.0.2840.99, platform=WIN8_1, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 40a0bf223c220b1ea7760ccffcb1825c
  6. 0

    Not able to run my test script in chrome, same script runs fine in Firefox

    Google Groups | 4 months ago | Unknown author
    org.openqa.selenium.ElementNotVisibleException: element not visible (Session info: chrome=55.0.2883.87) (Driver info: chromedriver=2.25.426923 (0390b88869384d6eb0d5d09729679f934aab9eed),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 38 milliseconds Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:32:46' System info: host: 'DESKTOP-0436FTE', ip: '192.168.0.5', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_111' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.25.426923 (0390b88869384d6eb0d5d09729679f934aab9eed), userDataDir=C:\Users\khaji\AppData\Local\Temp\scoped_dir3088_9396}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=55.0.2883.87, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 7ad6dbddddad6fcbfd96bcb0acc025b8

  1. raytest 8 times, last 2 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.openqa.selenium.ElementNotVisibleException

    Element not displayed . The same code works fine in latest IE-11, FireFox and Chrome browsers. Detail error is given below. org.openqa.selenium.ElementNotVisibleException: Element not displayed (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 6 milliseconds Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'MSEDGEWIN10', ip: 'xxx.17.31.xxx', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_77' Driver info: org.openqa.selenium.edge.EdgeDriver Capabilities [{acceptSslCerts=true, browserVersion=25.10586.0.0, platformVersion=10, browserName=MicrosoftEdge, takesScreenshot=true, pageLoadStrategy=normal, takesElementScreenshot=true, platformName=windows, platform=ANY}] Session ID: BEBA21E0-B278-48E4-89F8-D7ECBC3115A4

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  3. Selenium
    RemoteWebElement.click
    1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
    4. org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:327)
    5. org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:85)
    5 frames
  4. com.tests
    AppTest_Edge1.testLogin
    1. com.tests.AppTest_Edge1.testLogin(AppTest_Edge1.java:173)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. TestNG
    RemoteTestNG.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    2. org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    7. org.testng.TestRunner.privateRun(TestRunner.java:767)
    8. org.testng.TestRunner.run(TestRunner.java:617)
    9. org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
    10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
    11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
    12. org.testng.SuiteRunner.run(SuiteRunner.java:240)
    13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1198)
    16. org.testng.TestNG.runSuitesLocally(TestNG.java:1123)
    17. org.testng.TestNG.run(TestNG.java:1031)
    18. org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
    19. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:137)
    20. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:58)
    20 frames