def go_to_custom_level(self, level): path = reverse('play_custom_level', kwargs={'levelId': str(level.id)}) self._go_to_path(path) return GamePage(selenium)
def go_to_episode(self, episodeId): path = reverse('start_episode', kwargs={'episodeId': str(episodeId)}) self._go_to_path(path) return GamePage(selenium)
def go_to_level(self, level_name): path = reverse('play_default_level', kwargs={'levelName': str(level_name)}) self._go_to_path(path) return GamePage(selenium)