checkSupported(oper);
KeyDriver kdriver = DriverManager.getKeyDriver(oper);
Timeout pushTime = oper.getTimeouts().create("ComponentOperator.PushKeyTimeout");
Timeout betweenTime = getBetweenTimeout(oper);
while(getCaretPosition(oper) > 0) {
kdriver.typeKey(oper, KeyEvent.VK_BACK_SPACE, (char)KeyEvent.VK_BACK_SPACE, 0, pushTime);
betweenTime.sleep();
}
while(getText(oper).length() > 0) {
kdriver.pushKey(oper, KeyEvent.VK_DELETE, 0, pushTime);
betweenTime.sleep();