capybara/node/element.py
def select_option(self):
        """ Select this node if it is an option element inside a select tag. """
        if self.disabled:
            warn("Attempt to select disabled option: {}".format(self.value or self.text))
        self.base.select_option()
def select_option(self):
        """ Select this node if it is an option element inside a select tag. """
        if self.disabled:
            warn("Attempt to select disabled option: {}".format(self.value or self.text))
        self.base.select_option()
Select this node if it is an option element inside a select tag.