I am just confused behind the logic of requesting single page twice when scrapy is used with selenium webdriver. In most of cases I see following code in parse
function e.g
def parse(self, response):
self.selenium.get(response.url)
# do some other stuff
self.selenium.close()
So my question is , when parse
function gets the response, scrapy has already made an http request to page ? and in the function body we are making same request using selenium driver ? If my assumption is true
how we can avoid this ? If not what is in the response arugment passed?