No, it will not work with blazor, because blazor is either hosted in the browser (WASM), or is a signalr connection that returns undocumented tokens.
You need to a browser testing framework like Selenium
Note: you could test the webapi of the server with the integration test library