The short answer is it can't. My advice is to tidy up those cords. None of the Roomba models can avoid cords or wires. I haven't seen or tested a robot vacuum that can completely avoid cords. The Roborock S6 MaxV came close, but it has blind spots, so if the cord falls into these zones, it won't avoid them.