def get_select_option(self, selector, value):
        """
        Returns the <OPTION> with the value `value` inside the <SELECT> widget
        identified by the CSS selector `selector`.
        """
        from selenium.common.exceptions import NoSuchElementException
        options = self.selenium.find_elements_by_css_selector('%s > option' % selector)
        for option in options:
            if option.get_attribute('value') == value:
                return option
        raise NoSuchElementException((value, selector) % 'Option "%s" not found in "%s"')
dataset/ETHPy150Open django/django/django/contrib/admin/tests.py/AdminSeleniumTestCase.get_select_option/swapped operands of `%`