Log messages and images in HTML file
Project description
Explanation on youtube: https://www.youtube.com/watch?v=JUMmBmXNDOU
Logging of screenshot and messages to HTML file. Can be used with selenium, but not necessary. How to use it:
from LoggingSelenium.LogHTML import LogHTML
LogHTML.set_log_path(r"C:\pathToFolderForLogs") LogHTML.set_logging_level(LogHTML.INFO, use_screenshot=True)
LogHTML.screenshot("Screenshot is taken") LogHTML.debug("Random message") LogHTML.info("Random message")
Logging levels: -debug -info -warning -error -critical
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
selenium-logging-0.0.5.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for selenium_logging-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72c9a71431a96e1eefdf1f30c38e39ff7109a6fc125315d28e149a25348bcae9 |
|
MD5 | 9d3153456a2dffe0c88b3d29a17f8f31 |
|
BLAKE2b-256 | df3683df8b7ab3fdfc73300f382ec4da6f456a4a0362531eb641d0f8b5483808 |