void (int w, int h) { String svgPath = PlatformTestUtil.getPlatformTestDataPath() + "ui/jcef/animated.svg"; String url = "file://" + svgPath; _testImpl(w, h, (f)->{ try { Thread.sleep(20*1000); } catch (InterruptedException e) { throw new RuntimeException(e); } }, url, String.format("test_svg_fps_%dx%d.csv", w, h)); }