improve error reporting for 'isElementPresent' by expanding error string