I have the following HTML code:
<input type="submit" value="Publish" class="button submit">
I have written xpath as below:
//input[@value='Publish']
//input[@class='button submit']
//input[@type='submit']
What is the corresponding cssSelector for the above xpath for using in Selenium RC or WebDriver test?
1 Answer