I'm working on a raspberry pi project that connects to a Wi-Fi network that requires a user to click a "Log in" button by redirecting the webpage to an internal server, which presumably stores the MAC address in a table, and permits traffic to pass through.
Given that the pi will run headless, is there anyway to write a script that calls the button's java script function, preferably with something like cURL?