diff --git a/src/sst/__init__.py b/src/sst/__init__.py index e8de868..9382e5f 100644 --- a/src/sst/__init__.py +++ b/src/sst/__init__.py @@ -18,7 +18,7 @@ # -__version__ = '0.2.8dev-4' +__version__ = '0.2.9' DEVSERVER_PORT = 8120 # django devserver for internal acceptance tests diff --git a/src/sst/actions.py b/src/sst/actions.py index 6cd3e61..34f0b2c 100644 --- a/src/sst/actions.py +++ b/src/sst/actions.py @@ -562,8 +562,7 @@ def write_textfield(id_or_elem, new_text, check=True, clear=True): # clear field with send_keys(), don't use clear() (see # http://code.google.com/p/selenium/issues/detail?id=214 for rationale) if clear: - send_keys_select_all(textfield) - textfield.send_keys(keys.Keys().DELETE) + textfield.clear() if isinstance(new_text, unicode): textfield.send_keys(new_text)