[BrowserTest] prevent premature click of Edit button

Change-Id: Ibce2bf0f75e0639bbd3b90f2dc73716e43797841