Skip to content

Commit

Permalink
Small clarification (issue #459)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophieeng committed Apr 29, 2024
1 parent 1bdfd88 commit f1334ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/background/gpc.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f1334ae

Please sign in to comment.