This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function clickSend(x,i) { | |
var y = document.getElementsByClassName('artdeco-button--3 ml1'); | |
if(y.length > 0) { | |
y[0].click(); | |
console.log("Request sent for index: "+ i) | |
setTimeout(function(){ | |
clickConnect(x,i+1); | |
}, 1000); | |
} else { | |
console.log("Button not found for index: " + i) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ReachabilityHelper.swift | |
// TradeX | |
// | |
// Created by Kushal Ashok on 1/11/19. | |
// | |
import Reachability //https://cocoapods.org/pods/ReachabilitySwift | |
import CoreTelephony |