button contains in jquery code example
Example 1: jquery contains text
$( "div:contains( 'hello' )" )
Example 2: jquery find by innertext
$( "div:contains('innerText')" );
$( "div:contains( 'hello' )" )
$( "div:contains('innerText')" );