Python Playwright Wait For Response Surface Design