jqueryでdata-testid を値を取得する方法
data-testidなどのカスタムアトリビュートの取得。 複数ある場合はeqでID指定して取得する。
var txt = $('[data-testid="xxxxx"]').eq(0).text();
https://stackoverflow.com/questions/2487747/selecting-element-by-data-attribute-with-jquery
data-testidなどのカスタムアトリビュートの取得。 複数ある場合はeqでID指定して取得する。
var txt = $('[data-testid="xxxxx"]').eq(0).text();
https://stackoverflow.com/questions/2487747/selecting-element-by-data-attribute-with-jquery