Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Array.prototype
  2. .slice.apply(document.querySelectorAll('.Box-row'))
  3. .forEach(el => {
  4. const org = el.querySelector('a[href^="/confluentinc"]');
  5. if (org) el.querySelector('button[value="included"]').click()
  6. });
  7. var xpath = "//a[text()='Next']";
  8. var matchingElement = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
  9. matchingElement.click();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement