If I have an HTML element <input type="submit" value="Search" />
a css selector needs to be case-sensitive:
input[value='Search']
matches
input[value='search']
does not match
I need a solution where the case-insensitive approach works too. I am using Selenium 2 and Jquery, so answers for both are welcome.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…