protected Map<String, String> formatResult(String url, String content) {
        return Map.of(
                "url", url,
                "content", trimContent(content)
        );
    }
@Test
    void testFormatResultWithNullContent() {
        String url = "http://example.com";

        Map<String, String> result = rawBrowserAction.formatResult(url, null);

        assertEquals(url, result.get("url"));
        assertEquals("", result.get("content"));
    }