fix(all page screenshot): force to execute script if page is not loaded

force to execute script if it is not already injected. If script execution fails, display error message.