I once crashed my vscode by printing 500k lines of a csv.馃槄 Now i use break excessively when looping. That way, i don't have to rewrite the logic when i'm done testing. I typically use indexing for selenium elements. Peep my hack for indexing a list of dicts with a dict btw. 馃槄