Has anyone encountered and resolved - org.openqa.selenium.InvalidArgumentException: invalid argument: uniqueContextId not found

Viewed 37

I am getting following error during test execution:

org.openqa.selenium.InvalidArgumentException: invalid argument: uniqueContextId not found

The script is trying to find following element

//html[contains(@class,'act')]/body[contains(@class, 'pace-done') and contains(@class, 'SKINNED')]

when this error is encountered.
The Xpath is to find an element with class "SKINNED pace-done", but it is split because the classname may have leading, tailing or in between spaces.
Has anyone encountered "uniqueContextId not found" issue?

0 Answers
Related