For partial web automation that part of the work is prepared by human, and part of the work is automated. Attaching to existing browser is then required in this case.
This blog introduces 3 ways of attaching to browser by different automation libraries.