How to preload script in NodeJS Selenium Webdriver
Preloading script on every page load allows you to do things like intercepting fetch()
requests ⁽¹⁾.
Preloading script on every page load allows you to do things like intercepting fetch()
requests ⁽¹⁾.
I often forgot how to use output of a function that uses Promise, so here’s the easiest way to use it & remember.
My Mac mini still run on #macOS 10.15 (Catalina), as a comparison, latest macOS is version 14 (Sonoma).
During development of NodeJS web app, we need to stop the current process of the app & re-run it again to see the changes we made to the source code.
In PHP world, webserver with autoindex module (e.g Apache mod_autoindex, Litespeed Auto Index, nginx ngx_http_autoindex_module) already provide a way to display file listing in a public directory - we don't even need PHP to have this feature.
Previously I used Selenium in NodeJS environment with Chrome browser, but because of Google updated Chrome regularly, its webdriver wasn’t updated quickly enough.
Kebanyakan perubahan pada backend (server side), tak banyak nampak perubahan pada frontend (user interface side).