I navigate to a page and then find the list of episodes. I get each episode and click on the link for the episode. But when I go back to the page that has the list of episodes the following error happens:

**stale element reference: element is not attached to the page document**

My code is:

```
navigator.get('https://anchor.fm/dashboard/episodes')
time.sleep(5)
#get list
list_episodes = navigator.find_element_by_xpath('//*[@id="app-content"]/div/div/div/div[2]/ul')
#get episodes in list
items =  list_episodes.find_elements_by_tag_name('li')

for item in items:
    item.find_element_by_tag_name('button').click()
    time.sleep(10)
    navigator.find_element_by_xpath('//*[@id="app-content"]/div/div/div/div[2]/div/div[2]/div/div/div/button').click()
    time.sleep(2)
    navigator.find_element_by_xpath('//*[@id="app-content"]/div/div/div/div[2]/div/div[2]/div/div/div/div/div/div[1]/button[6]').click()
    time.sleep(2)
    navigator.find_element_by_xpath('//*[@id="app-content"]/div/div/div/div[3]/div[1]/div/div/div/button').click()
    time.sleep(2)
    navigator.find_element_by_xpath('//*[@id="app-content"]/div/div/div/div[3]/div[1]/div/div/div/div/div/div/button[1]').click()
    time.sleep(2)
    navigator.find_element_by_xpath('//*[@id="app-content"]/div/div/div/div[3]/div[3]/div/div/a').click()
    time.sleep(3)
    navigator.get('https://anchor.fm/dashboard/episodes')
    time.sleep(5)

```