Check for element before execute_script
What does this MR do?
Check for element before execute_script
/evaluate_script
so we know the actual cause of the test failure.
Are there points in the code the reviewer needs to double check?
- Do we want to introduce this pattern?
Why was this MR needed?
I didn't directly notice any failures but came across this tip and thought it would be easy to implement.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug - Review
-
Has been reviewed by Backend
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together
What are the relevant issue numbers?
Edited by Eric Eastwood