Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
2.0k views
by Master (1.2k points)
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
by
moved by
Please send me the code in details

1 Answer

0 like 0 dislike
by Master (1.2k points)
 
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.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...