python - How to get an attribute value of a web element which is hidden? -


i struggling attribute value of web element hidden on page. using python+selenium , not nkow how value. please help! reference, here sample python code have written:

attvaluebeforeupdatebuttonappears = webdriverwait(self.driver, 15).until(lambda     driver:self.driver.find_element_by_css_selector(customizeyourcheck.update_button_hidden).get_attribute('style'))  print attvaluebeforeupdatebuttonappears self.assertin("hidden", attvaluebeforeupdatebuttonappears) 


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -