Skip to content

Instantly share code, notes, and snippets.

@sfdcale
Created October 29, 2019 18:49
Show Gist options
  • Select an option

  • Save sfdcale/4b6c989287ffbd3b4aaa799aef2689ae to your computer and use it in GitHub Desktop.

Select an option

Save sfdcale/4b6c989287ffbd3b4aaa799aef2689ae to your computer and use it in GitHub Desktop.
This prints all test class names while keeping apex test execution opened.
var classnamescommaseperated = ''; document.querySelectorAll('div[class="x-grid3-cell-inner x-grid3-col-1"][unselectable="on"]').forEach((obj) => {classnamescommaseperated = classnamescommaseperated + ',' + obj.innerText;}); console.log(classnamescommaseperated);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment