import com.saucelabs.common.SauceOnDemandAuthentication;
import com.saucelabs.common.SauceOnDemandSessionIdProvider;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
import org.openqa.selenium.Platform;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.By;


import java.net.URL;

import static org.junit.Assert.assertEquals;
import com.saucelabs.common.Utils;

/**
 * Simple {@link RemoteWebDriver} test that demonstrates how to run your Selenium tests with <a href="http://saucelabs.com/ondemand">Sauce OnDemand</a>.
 * *
 * @author Ross Rowe
 */
public class ITWebDriver {

    private WebDriver driver;

    @Before
    public void setUp() throws Exception {

        DesiredCapabilities capabilities = DesiredCapabilities.firefox();
        capabilities.setCapability("version", "25");
        capabilities.setCapability("platform", Platform.WIN8);
        capabilities.setCapability("tunnel-identifier",Utils.readPropertyOrEnv("TRAVIS_JOB_NUMBER",""));
        this.driver = new RemoteWebDriver(
                new URL("http://joiblumen:19374220-fef6-4897-8922-fa92f7142053@ondemand.saucelabs.com:80/wd/hub"),
                capabilities);
    }

    @Test
    public void CheckTitleName() throws Exception {
        driver.get("http://localhost:4567");
        assertEquals("Tic Tac Toes!",driver.getTitle());
    }

    @Test
    public void CheckPlayNowButton() throws Exception {
        driver.get("http://localhost:4567");
        driver.findElement(By.id("playnow")).click();
        assertEquals(driver.getCurrentUrl(), "http://localhost:4567/game.html");
    }

    @Test
    public void CheckPlayVsComputerButton() throws Exception {
        driver.get("http://localhost:4567/game.html");
        driver.findElement(By.id("btn1")).click();
        assertEquals(driver.getCurrentUrl(), "http://localhost:4567/game.html");
    }

    @After
    public void tearDown() throws Exception {
        driver.quit();
    }

}

@@ -2035,24 +2035,436 @@
 l%22);%0A    %7D%0A%0A
+    private boolean main_game_test = false;%0A%0A    @Test %0A    public void  CheckPlayerVsPlayerButton() throws Exception %7B%0A         driver.get(%22http://localhost:4567/game.html%22);%0A         driver.findElement(By.id(%22btn2%22)).click();%0A%0A         if (driver.findElement(By.className(%22main-game%22)).isDisplayed())%0A         %7B%0A            main_game_test = true;%0A         %7D%0A         assertEquals(main_game_test, true);%0A    %7D%0A%0A
     @After%0A 

Add Selenium test for Human vs. Human button