org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":".//*[@id='select2-company_id-container']"} (Session info: chrome=52.0.2743.49) (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b),platform=Windows NT 10.0.10240 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 277 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40' System info: host: 'Niazi', ip: '192.168.1.128', os.name<http://os.name/>: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_91' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={chromedriverVersion=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b), userDataDir=C:\Users\HASEEB~1\AppData\Local\Temp\scoped_dir5880_17227}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=52.0.2743.49, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 21a5a48e679dfc318f4172079011f02f *** Element info: {Using=xpath, value=.//*[@id='select2-company_id-container']}

Google Groups | Unknown author | 9 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

    please solve my problem,, select2

    Google Groups | 9 months ago | Unknown author
    org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":".//*[@id='select2-company_id-container']"} (Session info: chrome=52.0.2743.49) (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b),platform=Windows NT 10.0.10240 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 277 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40' System info: host: 'Niazi', ip: '192.168.1.128', os.name<http://os.name/>: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_91' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={chromedriverVersion=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b), userDataDir=C:\Users\HASEEB~1\AppData\Local\Temp\scoped_dir5880_17227}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=52.0.2743.49, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 21a5a48e679dfc318f4172079011f02f *** Element info: {Using=xpath, value=.//*[@id='select2-company_id-container']}
  2. 0

    dragAndDropBy() function Encountering Exception

    Software Quality Assurance & Testing | 3 years ago | Pratibha
    org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"id","selector":"draggable"} Command duration or timeout: 34 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.38.0', revision: 'bd32d4e', time: '2013-12-05 16:16:40' System info: host: 'MyLappy', ip: '14.99.107.172', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=28.0, platform=XP, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 7dc1eb06-deb9-42e3-9994-2e7a3a41517f
  3. 0

    While running Selenium webdriver script I am getting below error

    Stack Overflow | 3 years ago | user3460883
    org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":".//*[@id=':hf']/div/div"} Command duration or timeout: 2.29 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.21.0', revision: '16552', time: '2012-04-11 19:09:00' System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_05' Driver info: driver.version: RemoteWebDriver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Selenium Webelement in two methods fail when called

    Stack Overflow | 3 years ago | user3335808
    org.openqa.selenium.NoSuchElementException: no such element
  6. 0

    Selenium - My Learnings

    mylearnings.net | 2 years ago
    org.openqa.selenium.NoSuchElementException: no such element\n (Session info: chrome\u003d39.0.2171.95)\n (Driver info: chromedriver\u003d2.10.267521,platform\u003dWindows NT 6.2 x86_64) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 5.01 seconds\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: \u00272.42.2\u0027, revision: \u00276a6995d\u0027, time: \u00272014-06-03 17:42:03\u0027\nSystem info: host: \u0027M-R9TG5Y4\u0027, ip: \u0027192.168.1.3\u0027, os.name: \u0027Windows 8\u0027, os.arch: \u0027x86\u0027, os.version: \u00276.2\u0027, java.version: \u00271.7.0_60\u0027\nSession ID: 7b15410612da4cb4483f7785ba43ba15\nDriver info: org.openqa.selenium.chrome.ChromeDriver\nCapabilities [{platform\u003dWIN8, acceptSslCerts\u003dtrue, javascriptEnabled\u003dtrue, browserName\u003dchrome, chrome\u003d{userDataDir\u003dC:\\Users\\KAVAN~1.SHE\\AppData\\Local\\Temp\\scoped_dir1132_10511}, rotatable\u003dfalse, locationContextEnabled\u003dtrue, version\u003d39.0.2171.95, takesHeapSnapshot\u003dtrue, cssSelectorsEnabled\u003dtrue, databaseEnabled\u003dfalse, handlesAlerts\u003dtrue, browserConnectionEnabled\u003dfalse, nativeEvents\u003dtrue, webStorageEnabled\u003dtrue, applicationCacheEnabled\u003dfalse, takesScreenshot\u003dtrue}]

  1. raytest 3 times, last 6 days ago
  2. Pilleo 3 times, last 1 week ago
  3. pnaranja 1 times, last 8 months ago
10 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.NoSuchElementException

    no such element: Unable to locate element: {"method":"xpath","selector":".//*[@id='select2-company_id-container']"} (Session info: chrome=52.0.2743.49) (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b),platform=Windows NT 10.0.10240 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 277 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40' System info: host: 'Niazi', ip: '192.168.1.128', os.name<http://os.name/>: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_91' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={chromedriverVersion=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b), userDataDir=C:\Users\HASEEB~1\AppData\Local\Temp\scoped_dir5880_17227}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=52.0.2743.49, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 21a5a48e679dfc318f4172079011f02f *** Element info: {Using=xpath, value=.//*[@id='select2-company_id-container']}

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames