The website I am trying to automate has some radio buttons like this:
<input type="radio" name="outputFormat" value="quicken" checked="checked">
<input type="radio" name="outputFormat" value="xls">
<input type="radio" name="outputFormat" value="csv" checked="on">
<input type="radio" name="outputFormat" value="quickbooks">
I am trying to select the 'CSV' option by CSS selector as that appears to be the only way to get it. This is what im trying:
driver.findElement(By.cssSelector("value=\"csv\"")).click();
However, this is giving me an invalid selector error.