Skip to content

Instantly share code, notes, and snippets.

View pdqdat's full-sized avatar
🎵

Dat Phan pdqdat

🎵
  • Ho Chi Minh City, Vietnam
  • LinkedIn in/pdqdat
View GitHub Profile
const ratingValue=3;document.querySelectorAll(`input[type="radio"][value="${ratingValue}"]`).forEach(r=>r.checked=true);[...document.querySelectorAll('button')].find(btn=>btn.textContent.trim()==="Gửi đánh giá")?.click();