private void JoinGroup(IWebDriver driver) { driver.ClickEx(driver.FindElement(By.XPath(JoinButtonXPath))); driver.WaitUntilDocumentIsReady(); }