-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
invalid usageYou may need to change what you're doingYou may need to change what you're doingquestionSomeone is looking for answersSomeone is looking for answers
Description
The following code, works under firefox, and chrome. Under IE 11 (specifically 11.1082.18362.0), it simply fails. Reporting that the input#UserName element does not exist.
I clearly see the element, although IE is horribly slow to inspect the element.
Is there a better way, for me to manage this. Since IE is the "officially" supported browser for our organization, I really should perform the automated testing with it.
def locker_login(self, username=SERVER_TO_TEST["USER"],
password=SERVER_TO_TEST["PASSWORD"]):
"""
Login to the web site, user the username and password provided.
"""
self.go_to_server()
self.type("input#UserName", username)
self.type("input#Password", password)
self.click(".btn")
self.assert_element_present("span.username", timeout=5)
Metadata
Metadata
Assignees
Labels
invalid usageYou may need to change what you're doingYou may need to change what you're doingquestionSomeone is looking for answersSomeone is looking for answers