I am using selenium library for performing an IE11 web automation.
Using IE driver 3.14.0 32 bit(as this version allows to run scripts on locked windows machines). The automation runs for almost 12 hours if no errors. The browser is opened only once. Intermittently I see the tests fail with InvalidSelector exceptions with a reason [object Error]. I am not able to identify the issue, as the selector works fine if I restart the test.
Example error:
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]