I can see how it is convenient to assume that the element was found and move on with the code, but then when using that element it will inevitably fail and the error will not be immediately obvious. I suggest we at least use selectors that fail on the spot with a proper message, so we can easily find mistakes in the template.
I can see how it is convenient to assume that the element was found and move on with the code, but then when using that element it will inevitably fail and the error will not be immediately obvious. I suggest we at least use selectors that fail on the spot with a proper message, so we can easily find mistakes in the template.