Defines driver based on specified test environment settings