apple_captive_test {pingr} | R Documentation |
If the test page, returns "Success" that means that the computer is connected to the Internet.
apple_captive_test()
Note that this function will fail if the computer is offline. Use
is_online()
to check if the computer is online.
apple_captive_test()