I'm working with Selenium in Python. I would like to get the .val() of an <select> element and check that it is what I expect.
This is my code:
url = 'http://localhost:8000/analyse/'
org = driver.find_element_by_id('org')
# Find the value of org?
How can I do this? The Selenium docs seem to have plenty about selecting elements but nothing about attributes.