Functions.credits() try: parser = ReadParameters() args = parser.get_params() start_driver = StartDriver(Browser.CHROME) b_repeat = True while b_repeat: try: maps = Maps(start_driver.driver, args.current, args.destination) maps.run() user = User(maps.get_current_place(), maps.get_destination_place(), maps.get_transport(), maps.get_duration(), args.time, maps.get_distance()) user.run() except RepeatLoopException as ex: print(f'{ex}, Increase delay and reloading ...') Functions.increase_time_step(2) else: print(f'End program successfully!') b_repeat = False except KeyboardInterrupt: print(f'\nCTRL+C!')