I have been writing selenium scripts for a while in Java. I encountered a very weird issue today.
Here is the issue: I cleared a text field using webelement.clear()
Another way that worked for me in python, but is not what you would call elegant:
for _ in range(4): risk_percentage.send_keys(Keys.BACK_SPACE)