Version 1.10.0 offers now Edge support.
In order to access it you just need to update Germanium (
pip install -U germanium), and call
open_browser('edge'). That’s it. This will download the driver for you (read the Microsoft Licensing below on the page) and just work like before with any other browser.
So instead of doing:
open_browser('ie') # or 'firefox' or 'chrome'
you can do now also:
You might have noticed that the support is still in beta. The reason is that in the test suite that validates Germanium itself, there are still two sets of tests that fail, and both of them are caused by the binary driver itself:
- The alerts that open immediately when the page is loading, aren’t opening in the Edge browser itself. Normal alerts work though.
- Multiple values selects don’t allow being selected. This is true only for multiple values selects, with regular selects working just fine.
Since these limitations are small we decided to include the WebDriver support.
Note that for some strange reason the Edge drivers are not redistributable. What that means is that Germanium can’t bundle the drivers for you. In order to make the experience the classic Germanium experience, where we do a call and everything just works, Germanium will download the drivers on your behalf, and make them available into the
What Germanium can’t do on your behalf is agreeing to the license that Microsoft requires.
So in order to use it, you need to first read Edge WebDriver License and agree to it, then either export in the environment a variable named
GERMANIUM_I_AGREE_TO_MS_EDGE_LICENSE, or if changing the environment is not possible, do before calling
Note, that the drivers will be downloaded only once, in later runs if the drivers are still there, Germanium will not attempt to re-download them.