Selenium race condition fix: block until the accession title element appears in the DOM