diff --git a/src/test/java/org/olat/selenium/page/core/IMPage.java b/src/test/java/org/olat/selenium/page/core/IMPage.java
index 14a1810b670d24aaf0496b7f363a81af5da6cc09..42fc5f60dcb1a9e312d0c613820b4a324bae626c 100644
--- a/src/test/java/org/olat/selenium/page/core/IMPage.java
+++ b/src/test/java/org/olat/selenium/page/core/IMPage.java
@@ -38,7 +38,6 @@ import com.google.common.base.Predicate;
  *
  */
 public class IMPage {
-	private static final By imModalBy = By.className("o_im_chat");
 	
 	private WebDriver browser;
 	
@@ -54,6 +53,9 @@ public class IMPage {
 		By openBy = By.className("o_sel_im_open_tool_chat");
 		WebElement openButton = browser.findElement(openBy);
 		openButton.click();
+		OOGraphene.waitBusy();
+		
+		By imModalBy = By.className("o_im_chat");
 		OOGraphene.waitElement(imModalBy);
 		return this;
 	}