human
Python Selenium: Find object attributes using xpath
assistant
Here is some code to find all the values in attribute `value` for the tags whose `type` attribute is `submit` in selenium

browser.find_elements_by_xpath("//*[@type='submit']").get_attribute('value')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.