* @param expectedFontName the expected font name
*/
protected void waitForDetectedFontName(final String expectedFontName)
{
final String[] detectedFontName = new String[1];
new Wait()
{
public boolean until()
{
detectedFontName[0] = getSelenium().getValue(FONT_NAME_SELECTOR);
return expectedFontName.equals(detectedFontName[0]);