Unable to reach Browser:Session Not Created Exception
<p>Below is the testcase code which doesn't seem to be executing anyways. Is there any configuration problem with firefox?</p>

<pre><code>package testOperations;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;

public class FunctionalTest {

    //Code for launching the required link into browser

    WebDriver driver;

    @BeforeTest

    public void  launchUrl() {

    System.setProperty("webdriver.gecko.driver", "C://MavenTest//driver/geckodriver.exe");
       driver = new FirefoxDriver();

        driver.get("https://letskodeit.teachable.com/p/practice");

    }
</code></pre>

<p>On running the code only blank browser window is being open and the testcases are giving failures.</p>

<pre><code>    @Test

    public void radioButtoncheck() {

    boolean list = driver.findElements(By.tagName("radio")).get(2).isSelected();

        if  (list!=true) {

            driver.findElement(By.id("hondaradio")).click();
        }
        else {

            driver.findElement(By.id("benzradio")).click();
        }

    }

}
</code></pre>

<p><a href="https://i.stack.imgur.com/xBsU7.png" rel="nofollow">Output screenshot</a> </p>