Skip to content

Instantly share code, notes, and snippets.

const getUrlFromTable = () => {
let url = "";
const tables = document.querySelectorAll("table");
tables.forEach((table) => {
const theadText = table.querySelector("thead th")?.textContent.trim();
if (theadText === "Technician Concerns") {
const tbodyRows = table.querySelectorAll("tbody tr");
const params = [];