Small helper function to get all ids in the output.
array A list of beatle ids.
protected function clickSortLoadIdsFromOutput() {
$fields = $this
->xpath("//td[contains(@class, 'views-field-id')]");
$ids = array();
foreach ($fields as $field) {
$ids[] = (int) $field[0];
}
return $ids;
}