Thanks for your help. The Keys enum approach works well for me.
Keys[] keys = new Keys[element.getValue().length()];
for (int i = 0 ; i < keys.length ; i++)
keys[i] = Keys.BACK_SPACE;
element.sendKeys(Keys.chord(keys) + newValue);
I have opened a new issue - 214. I'm not sure what the best solution
is. The closest match to manual user control is to fire the event
when the input loses focus. The problem with that is it takes a few
lines of code to achieve (something like: el.clear();
el.sendKeys("mytext"); el.sendKeys(TAB);) I guess that's not too
bad. The most important thing for me is that it works the same in
all drivers.
Thanks
Ben