title: How to use multiple locators to find an element in selenium webdriver
body: <p>How can I locate an element in a page with selenium webdriver by using multiple locators at the same time . I am having 2 elements with same id but different values. So in order to access them I need to use a combination of both id and value. What is the syntax. I'm using java. Also I'm automating an application that works only in IE. Since I'm unable to access xpath, I'm not using it.</p>
  
  <pre><code>element=driver.findElement(By.id("id").cssSelector("input[@value='value1']"));
  </code></pre>