Revert to using sendKeys and handle spaces properly.