Appium doesn't clear the entire text field

I had a text field with URL “http://www.google.com” and i was trying to clean that field with “clear” method but it doesn’t clear the entire field. It tries to clean for 2-3 times but in the end it gets failed.