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

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

php - Calling a template part from a post -

How to mention the localhost in android -