From f1334aec8589cf1ecfff5bc61e76174115888574 Mon Sep 17 00:00:00 2001 From: sophieeng Date: Mon, 29 Apr 2024 00:02:33 -0400 Subject: [PATCH] Small clarification (issue #459) --- test/background/gpc.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/background/gpc.test.js b/test/background/gpc.test.js index e170e19..988e705 100644 --- a/test/background/gpc.test.js +++ b/test/background/gpc.test.js @@ -96,7 +96,7 @@ gpc.test.js tests the GPC signal head-fully using Puppeteer and Chromium return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; } - // return only the inner text of the element + // return only the inner text of the element to the const 'header' // "/html/body/section[2]/div/div[1]/div/h3" is the specific path return getElementByXpath("/html/body/section[2]/div/div[1]/div/h3").innerText;