parser Run parser ParserRunner class will run until parser object's method hasNext() returns true. BabyrentKharkovUA Starting from getListOfProducts() then until it increase page number it parsing Products in parseProduct() method.