I'm trying to login to www.pactpub.com
using the following idea
def setUp(self):
self.driver = webdriver.Chrome(executable_path='C:\_workspace\projects\Packtpub\chromedriver')
self.driver.get("https://www.packtpub.com")
time.sleep(5) # Let the user actually see something!
def test_login(self):
driver = self.driver
driver.maximize_window()
login1 = driver.find_element_by_id("email-wrapper")
login1.find_element_by_id("email").send_keys("my_login")
But he can not find the email field
and returns the error:
ElementNotVisibleException: Message: element not visible
How can I get around this?