Automated testing of captive portal logins for wifi?

I was wondering if anyone has done or looked into automating the testing of captive portal logins used for public wifi connections.

And whether testing was only against the login page itself within a regular browser or attempted to test in real simulated environment of mobile device or laptop/desktop.

For example on iOS a custom login screen pops up rather than regular mobile Safari for the captive portal login. On Mac, you get the Captive Network Assistant app that pops up for login rather than default browser directing you to the login page.

Hi daluu,
I am looking for something similar. You can get tools to simulate safari but i could not find anything that would test a web page (specifically a captive portal)
Let me know if you find one.