fdutils/selenium_util/__init__.py
def _enter_text(elem, text, append=False, prepend=False, clear=True):
    """ enter text on an element found by its Name attribute.

    if there is no need to append or prepend then we just clear the text before inserting the new one
    """
    pre = app = u''

    if prepend:
        pre = elem.value()
    elif append:
        app = elem.value()
    if clear:
        elem.clear()
    elem.send_keys((pre + text + app))
 enter text on an element found by its Name attribute.

    if there is no need to append or prepend then we just clear the text before inserting the new one
    
enter text on an element found by its Name attribute.
if there is no need to append or prepend then we just clear the text before inserting the new one
enter text on an element found by its Name attribute . if there is no need to append or prepend then we just clear the text before inserting the new one
def _enter_text(elem, text, append=False, prepend=False, clear=True):
    pre = app = u''
    if prepend:
        pre = elem.value()
    elif append:
        app = elem.value()
    if clear:
        elem.clear()
    elem.send_keys((pre + text + app))
def _enter_text ( elem , text , append = False , prepend = False , clear = True ) : pre = app = u'' if prepend : pre = elem . value ( ) elif append : app = elem . value ( ) if clear : elem . clear ( ) elem . send_keys ( ( pre + text + app ) )
enter text on an element found by its Name attribute.
enter text on an element found by its Name attribute .
""" enter text on an element found by its Name attribute.

    if there is no need to append or prepend then we just clear the text before inserting the new one
    """
elem
text
append
prepend
clear