title: While loop with skip on first iteration?
body: <p>I am trying to write this while loop that automatically presses the next button on the first page, but then after abides by the conditions I have set in the while: else: part. How do I automate the first click without conditions because right now it automatically getting closed by following the else: condition.</p>
  
  <p>For more context my_url is the first page of the sneaker website.
  There are 34 shoe pages to progress through, but rather than doing it by page numbers I am just trying to advance through the pages so its adaptable to other uses. When it reaches the last page and you click the next button it returns back to page 1. Which is why I have set up the else statement to quit when back to my_url.</p>
  
  <pre><code>#Once done scraping page, clicks next page button until it returns to page 1
      def next_page(self, driver):
          next_button = driver.find_element_by_xpath('/html/body/div/div[2]/div[1]/div[3]/div/div[2]/ul/li[3]/button')
          next_button.click()
          driver.implicitly_wait(10)
          while driver.current_url != my_url:
              next_button = driver.find_element_by_xpath('/html/body/div/div[2]/div[1]/div[3]/div/div[2]/ul/li[3]/button')
              driver.implicitly_wait(15)
              #run sneakers program again
              #scraper.main_page(driver)
              #scraper.x_path_creator(driver)
              #scraper.shoe_page_scrape(driver)
              scraper.next_page(driver)
  
  
              else:
                  print("Scraping for this shoe is done.")
                  driver.quit()
  </code></pre>