chore: turn RunPhase in a class with helper methods (#17721)
chore: turn RunPhase in a class with helper methods (#17721)


microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright