DRY up selenium test setup