I need to spot current Internet Service Provider name. Is there any way to do something like:
(PSEUDOCODE):
String currentISP = driver.getCurrentISP();
if (currentISP == "Washington State University") {
// etc
}
else {
//
}
I need to spot current Internet Service Provider name. Is there any way to do something like:
(PSEUDOCODE):
String currentISP = driver.getCurrentISP();
if (currentISP == "Washington State University") {
// etc
}
else {
//
}
Use driver.getCurrentURL()
to get the url.
Convert that to the IP using this solution
Finally, go from IP to ISP using some other webservice. SO has multiple questions with distinct answers, so I won't post one here.