powered by
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.
is_online()
# NOT RUN { apple_captive_test() # }
Run the code above in your browser using DataLab