Save document in pdf format Selenium test