Usually, in such scenario, we first try to utilize any API if available. If not, we usually open a headless browser and do the verification. As verificaiton from the desktop browser is not really a step of a test case. It is actually a requirement to move to next step.
If you want to test your web app, that will be altogether a separate test case.
Hope that answers your question.