if mode == "interactive":
show_manager.start()
elif mode == "record":
// Recorded events:
// 1. Click on button of option 1.
// 2. Click on button of option 2.
// 3. Click on button of option 2.
// 4. Click on text of option 2.
// 5. Click on button of option 1.
// 6. Click on text of option 3.
// 7. Click on button of option 4.
// 8. Click on text of option 4.
show_manager.record_events_to_file(recording_filename)
print(list(event_counter.events_counts.items()))
event_counter.save(expected_events_counts_filename)
else:
show_manager.play_events_from_file(recording_filename)
expected = EventCounter.load(expected_events_counts_filename)