Como usar xpath em selênio

Eu tenho esse código html:

<code><select name="category" id="category">
    <option value="0">&laquo;Seleziona la categoria&raquo;</option>
    <option value='1' style='background-color:#ddd' disabled="disabled" id='cat1' >-- VEICOLI --</option>
    <option value='2'  id='cat2' >Auto</option>
</select>
</code>

e eu tenho que selecionar o WebElement identificado pela tagoption com textoAuto. Eu tento alguma solução como:

<code>d.findElement(By.xpath("/select[@id=category]/option[@id=cat2]")).click();
d.findElement(By.xpath("/select[@id=category]/option[text()='Auto']")).click();
d.findElement(By.xpath("//select[@id=category]/option[Auto]")).click();
</code>

mas todo mundo me dá:

<code>Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":"/select[@id=category]/option[@id=cat2]"} ( and other xpath i tried)
Command duration or timeout: 1.52 seconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
</code>

qual é a sintaxe correta? alguém pode me ajudar?

questionAnswers(1)

yourAnswerToTheQuestion