                 }
             }
         }
-        
-//        if let url = webView.url {
-//            let urlString = url.absoluteString
-//            
-//                
-//                Alamofire.request(urlString).responseString { response in
-//                    print("Success: \(response.result.isSuccess)")
-//                    self.parseHTML(html: response.result.value!)
-//                }
-//        }
     }
     
     func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {


        webView.evaluateJavaScript("document.documentElement.outerHTML") {
            (html: Any?, error: Error?) in
//            print(html)
            if let doc = html as? String {
                if doc.contains(Constants.aPlusLogInURLPath) {
                    print(">>> Should log in")

    var label: UILabel!
    var audioPlayer: AVAudioPlayer!
    var students = [Student]()
    var queueChecker = Timer()
    
    private var isOnManagePage: Bool = false {
        didSet {
            if isOnManagePage {
                label.text = "On manage"
                queueChecker = Timer.scheduledTimer(timeInterval: 5, target: self, selector: #selector(parseManagePage), userInfo: nil, repeats: true)
//                parseManagePage()
            } else {
                queueChecker.invalidate()
                label.text = "Not manage"
            }
        }
