Fixing TypeError: is_text_present() takes exactly 2 arguments (3 given)