Hacker News new | ask | show | jobs
by Elhana 3216 days ago
clear() works for me consistently. At the same time, I had cases before when sendkeys was not sending complete string, so I had to compare it with get_attribute('value') to be sure.