SeleniumBase: self.type does not work with ie

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.

2020-10-23 12_39_39-LK Archive - Internet Explorer

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)

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

@#$@#$!

Well, the good news, it works fine. On the Virtual Server, but not on my group policy controlled laptop.
So I am going to chalk this entire thing up on some restriction in Group Policy…

I just need to say, Thanks for a more easily controlled, and automated framework around Selenium. SBase, so far, has been a lot easier and has solved far more problems than I have discovered… (Usually with Selenium that ratio is reversed…)