When writing a bot for Instagram, using a stack of technologies selenium Webdriver, Java, XPath, encountered a problem. Instagram is now trying to protect themselves from bots, so to disassemble it most interesting. The task arose, to get the number…