TestProject Forum

Element once located donot locate after page refresh

I have located a search field on web, when I refresh the page testproject donot locate the element and gives context xpath error.

Try to run this action after the refresh:

Search: Switch to default content

If that still doesn’t solve your issue please make sure the correct context is set on the advanced options on the step:


Use the magnifying glass to verify: