Pull out the coercion of the parsed page to the ParsedPage object, rename get_filtered_values_by_selector, fix the uncomfortable returning if statement with a conditional expression, and sort the tests.
Remove the redundant import of re in ConsumePage.
Remove the redundant import of ParsedPage in ConsumePage.