The way the Winbot, which I borrowed for a week, works is that it attaches itself to a window, like a tick, and then scuttles back and forth, its brain somehow mapping the window's dimensions and remembering the area it has already covered.
WSJ: Urban Gardner: The Joy of Clear Glass