How can I automatically connect to my company's wifi?
It can be completely automated.

First, you need to know how button click data is submitted to the server: GET (less likely) or POST

If data is submitted to server using GET, just record the URL after submission. If data is submitted using POST, intercept the HTTP header when you click the button (there are lots of softwares for that; for example this Chrome plugin can log everything).

Now, install Tasker in your Android device.


Set Trigger as State ~> Net ~> Wi-Fi Connected and enter SSID of company Wi-Fi.
Set Action as Net ~> HTTP GET or Browse URL if button click data is submitted using GET. Otherwise, set Action as Net ~> HTTP POST or HTTP Head and enter the intercepted HTTP head data.