how can i get the current contents of an element in webdriver,driver.quit()