Hi,
FLB does currently not offer any support for detecting layout bugs by comparing screenshots, sorry.
I did some experiments myself in this direction, but its really not easy, when you don't want false positives.
Nevertheless, here is some advice I can offer, if you are going to implement the comparison yourself:
1.) Hide all text first -- text is rendered differently by different browsers.
You could use the FLB API: WebPage.getScreenshot(WITH_ALL_TEXT_TRANSPARENT)
2.) Do not try to compare entire screenshots, but only regions covered by certain HTML elements.
To determine the coordinates and dimensions of those regions, you can use JavaScript or the WebDriver API
Kind regards, Michael