Having some difficulties with pages that have javascript links embedded in them. This issue arises when the page contains a list of cities with javascript in their links. Each link needs to be navigated individually, scraping information and then returning to the list to proceed to the next city for scraping.
The problem occurs after clicking on the javascript links using selenium web driver. Upon navigating back to the list page, the response is lost and an error like the following is displayed:
selenium.common.exceptions.NoSuchElementException: Message: u'Unable to locate element: {"method":"id","selector":"some_id"}'
Any alternatives or workarounds for this issue?