title: Cannot get code to scrape more than one page
body: <p>I want to webscrape multiple pages from a website. I have made code to get one page and I can get it to scrape multiple pages, however I cannot store the information and it only stores data the last page scraped. I need to scrape the contents for which I can then put on data frame. Code is below</p>
  <pre><code>for page in range(0, 100, 50):
      #This website outputs search results of 50 items per page, for testing I tried to make it 
      get two pages. That it it opens up the links of each page.
      driver.get(f&quot;https://www.website.com/search/{page}...&quot;)
         
      firstvariable = driver.find_elements_by_css_selector(&quot;1stselector&quot;)
      secondvariable = driver.find_elements_by_css_selector(&quot;2ndselector&quot;)
  
      for k in range(len(firstvariable)):
          temporarydata = {&quot;First Variable&quot;: firstvariable[k].text,
                           &quot;Second Variable&quot;: secondvariable[k].text}
          #check that it does print correctly
          scraperesult.append(temporarydata) #tried adding a (page) index but says not callable
  df_data= df_data.append(scraperesult) #Tried df_data= df_data.append(scraperesult)(page) as well
  </code></pre>