Revised code to bypass captcha

Added check to verify if an iframe was found.