3 ms·
It's a library and not a framework. Besides the inherent superiority of libraries vs hollywood-principle frameworks, this lets you just import "from selenium im
by fulafel 4y ago
It's a library and not a framework. Besides the inherent superiority of libraries vs hollywood-principle frameworks, this lets you just import "from selenium import webdriver" in your code and have a programmable browser that you can use in various ways.
For example here's how to use it to
- download files with a browser: https://selenium-python.readthedocs.io/faq.html#how-to-auto-save-files-using-custom-firefox-profile https://selenium-python.readthedocs.io/faq.html#how-to-auto-...
- grab screenshot of a site: https://selenium-python.readthedocs.io/faq.html#how-to-take-screenshot-of-the-current-window https://selenium-python.readthedocs.io/faq.html#how-to-take-...