I got this error while trying to click on an element in the dropdown.

org.openqa.selenium.WebDriverException: TypeError: rect is undefined

Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'

System info: host: 'IND-52599H2-LT', ip: '', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181'

Driver info: org.openqa.selenium.remote.RemoteWebDriver
moved by
Please send me the code in details

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

by (1.1k points)
0 votes
Best answer
This error happened as I was trying to click on the first element, i.e. null in dropbox. When I changed my index to 1 from 0 it worked.