org.openqa.selenium.TimeoutException: Timed out after 20 seconds waiting for alert to be present Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:32:46' System info: host: 'abiba-desktop', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.8.0-44-generic', java.version: '1.8.0_91' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=47.0.1, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 8446b079-72c3-4623-9374-949f7f10c6f4

Stack Overflow | Vikas Tiwari | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Tried all types of alert handling but not working

    Stack Overflow | 10 months ago | Vikas Tiwari
    org.openqa.selenium.TimeoutException: Timed out after 20 seconds waiting for alert to be present Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:32:46' System info: host: 'abiba-desktop', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.8.0-44-generic', java.version: '1.8.0_91' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=47.0.1, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 8446b079-72c3-4623-9374-949f7f10c6f4
  2. 0

    How do I check for the visibility of an element which may or may not be present?

    Stack Overflow | 9 months ago | testerjoe2
    org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for visibility of element located by By.xpath: //button[contains(concat(" ", normalize-space(@class), " "), " reply_options ")].......
  3. 0

    Timeout error in TestNG

    Stack Overflow | 1 month ago | Tester
    org.openqa.selenium.TimeoutException: Timed out after 20 seconds waiting for element to be clickable: By.xpath: .//*[@id='gs_htif0'] Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:09' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=46.0, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 93e46eb2-2ba1-479b-9bfd-c56178d7eb7c
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Selenium FluentWait method failing to ignore NoSuchElement

    Stack Overflow | 2 years ago
    org.openqa.selenium.TimeoutException: Timed out after 30 seconds waiting for element to be clickable: [[FirefoxDriver: firefox on XP (256df980-a068-474c-9469-2ff4e8e13b3e)] -> id: ReportViewer1_ctl06_ctl00_Next_ctl00_ctl00] org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:259)
  6. 0

    AdminHomePageUiTest failing on live server

    GitHub | 10 months ago | damithc
    org.openqa.selenium.TimeoutException: Timed out after 60 seconds waiting for element to be clickable: [[FirefoxDriver: firefox on WINDOWS (6413914b-7a91-4b60-a3ce-28f6870f401a)] -> id: btnAddInstructorDetailsSingleLineForm] Build info: version: '2.46.0', revision: '61506a4624b13675f24581e453592342b7485d71', time: '2015-06-04 10:22:50' System info: host: 'damithch-d9010', ip: '172.26.184.217', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_45' Session ID: 6413914b-7a91-4b60-a3ce-28f6870f401a Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{platform=WINDOWS, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=38.0.5}]

  1. raytest 6 times, last 1 month ago
  2. andyglick 2 times, last 4 months ago
  3. pnaranja 1 times, last 10 months ago
  4. Malcshour 4 times, last 1 year ago
  5. ulman 2 times, last 1 year ago
4 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.TimeoutException

    Timed out after 20 seconds waiting for alert to be present Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:32:46' System info: host: 'abiba-desktop', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.8.0-44-generic', java.version: '1.8.0_91' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=47.0.1, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 8446b079-72c3-4623-9374-949f7f10c6f4

    at org.openqa.selenium.support.ui.WebDriverWait.timeoutException()
  2. selenium-support
    FluentWait.until
    1. org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:80)
    2. org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261)
    2 frames
  3. selenium
    Config.Blacklist
    1. selenium.Config.Blacklist(Config.java:38)
    1 frame
  4. 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
  5. TestNG
    RemoteTestNG.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
    2. org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
    3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)
    4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
    5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
    7. org.testng.TestRunner.privateRun(TestRunner.java:774)
    8. org.testng.TestRunner.run(TestRunner.java:624)
    9. org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
    10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
    11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
    12. org.testng.SuiteRunner.run(SuiteRunner.java:261)
    13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
    16. org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
    17. org.testng.TestNG.run(TestNG.java:1048)
    18. org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
    19. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:152)
    20. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:57)
    20 frames