From 8c8cdeba497d708da2bc9d0b2d34409c97d4ffdd Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sat, 25 Oct 2025 02:33:47 -0700 Subject: Two post ideas: cursed-jigs and poor-mans-selenium --- content/blog/poor-mans-selenium.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 content/blog/poor-mans-selenium.md (limited to 'content/blog/poor-mans-selenium.md') diff --git a/content/blog/poor-mans-selenium.md b/content/blog/poor-mans-selenium.md new file mode 100644 index 0000000..f7c8dbb --- /dev/null +++ b/content/blog/poor-mans-selenium.md @@ -0,0 +1,11 @@ +--- +title: "Poor Man's Selenium" +summary: "When chrome-driver just decides to not work on your development workstation today" +draft: true +--- + +Idea: do what I did for certain website scraping, just write elaborate code inside the javascript console + +- `HTMLElement.click()` +- `setTimeout` recursion, or hand-craft some async/await timeouts? +- `HTMLElement.outerHTML` to stringify a DOM node -- cgit v1.3.1