I am using robotframework to perform web automation using IE11 and seleniumlibrary. It runs on windows 10 workstations. I use IE driver 3.14.0 32-bit as it allows to run scripts when screen is locked.
I am getting lot of Invalid selector exceptions with reason [object Error] which results in tests to fail. The selectors work well sometimes and fail after some time. Is it something with the library versions? The driver exists in the project root folder and all required IE settings are available.
- selenium 3.141.0
- robotframework 3.2.1
- rf-seleniumlibrary 4.4.0
I am providing the elements as variables to robot through a file. eg:
InvalidSelectorException: Message: Unable to locate an element with the xpath expression //a[@href="http://example.com/example/example?abc=Home"] because of the following error: [object Error]