python selenium check if input is empty