I want to print all lines starting with a "+" and which have a keyword such as "hasRole".
String search="//td[contains(@class,'blob-code blob-code-addition') and contains(text(),'hasRole')]";
I know a simple and condition will not be enough. How do I formulate the XPATH search for this?
Here's a screenshot.
Also,how do I make this search case insensitive?