jquery select by inner text code example
Example 1: jquery get element innertext
const copiedText = $('#element').text();
Example 2: jquery find by innertext
$( "div:contains('innerText')" );
const copiedText = $('#element').text();
$( "div:contains('innerText')" );