Selenium with Python: can't find element by link text -


could me understand why in particular case find_element_by_partial_link_text doesn't catch element.

from selenium import webdriver import unittest

class registernewuser(unittest.testcase):     def setup(self):         self.driver = webdriver.firefox()         self.driver.implicitly_wait(30)         self.driver.get("http://web.archive.org/web/20141117213704/http://demo.magentocommerce.com/")      def test_register_new_user(self):         self.driver.find_element_by_link_text("log in").click()  

pardon strange link. i'm reading book on selenium , link there. contents has changed. book seems ok me. so, extracted old web page archive.

well, if view page source, can find link there. can't reach via selenium.

could give me hint? thank in advance.

the link hidden, need click first on menu (account)


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -