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: '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']}

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Unknown author, 1 year ago
=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
via Stack Overflow by Simon N
, 8 months ago
Unable to find element with id == lst-ib (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 3.23 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
via Stack Overflow by user3460883
, 2 years ago
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
via Stack Overflow by raju
, 2 years ago
Unable to locate element: {"method":"link text","selector":"python Button sub components"} Command duration or timeout: 62.06 seconds
via Google Groups by Unknown author, 1 year ago
Unable to find element with name == q (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 20.11 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
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: '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(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

Users with the same issue

5 times, 8 months ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.