a test script for wi-fi spot login