On 04/03/2013 08:04 PM, Brad P. Crochet wrote:
> In pages/regions/paginator.py:
>
>> @@ -53,3 +54,15 @@ def click_last_page(self):
>>      @property
>>      def is_last_page_disabled(self):
>>          return 'dimmed' in self.selenium.find_element(*self._last_page_locator).get_attribute('class')
>> +
>> +    @property
>> +    def selected_per_page(self):
>> +        return self.selenium.find_element(*self._per_page_locator).get_attribute('value')
>> +
>> +    def set_per_page(self, value):
>> +        pager = self.selenium.find_element(*self._per_page_locator)
>> +        for option in pager.find_elements_by_tag_name('option'):
>> +            if option.get_attribute('value') == value:
>
> Consider using the selenium Select api.
> http://selenium.googlecode.com/git/docs/api/py/webdriver_support/selenium.webdriver.support.select.html
>

Ha, thanks for the link - I was looking for something like this but my 
google search abilities suck. Going to update the pull request.