Existing framework for logging into public wifis?

Some/most (?) public wifi use captive portals. To get InterNet access, one has to open a web page in a browser, click a button to agree with their terms and conditions, or check a box and click a button, or enter per-user access credentials and press a button, or understand some text saying “welcome back, we remember your device, but you still need to click a button” and click a button. This is tedious and cries out loud for automation.

There is at least one utility (prison-break, not yet tested by me) that automates that process by installing itself as a dispatcher script for NetworkManager and then logging into a wifi after the network connection has been established, and another (py-iwd-autocaptiveauth) that attaches itself to the more obscure (to me) iNet Wireless Daemon (iwd). So my current plan is to use prison-break with a view to maybe packaging it.

However, given the ubiquity of public wifis and the number of users probably having to click a button every day, finding only two utilities for this purpose feels like I’m missing something.

Is there an existing framework in Fedora for logging into public wifis that is higher level than NetworkManager’s dispatcher scripts?

I definitely understand the frustration of being forced to connect to public wifi as you note.
IME it seems most are unique in how they connect/authorize the connection thus attempting to automate it with something that would work in most cases seems difficult.

I think if you are able to create something that would do the task it likely would be welcomed by many. :+1:

Captive portal login appears to be a built-in GNOME feature based on connectivity checking and not related to dispatcher scripts, see: