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

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -