You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Base64 encoded screenshot and additional screenshot creation from XPATH element (#194)
* Update .gitignore, add VSCode directory and .venv
* Add base64 logging function to robotlog
* Change screenshot module behaviour to accomodate base64 image conversion
- Add xpath to ValueContainer
- Add additional actions for element and Base64 format
- add automation to init
- Add capture function for base64 using MemoryStream
- Add optional xpath to both capture functions
* Change screenshot keywords to use optional base64 and allow capturing by XPATh
- Adjust 'take screenshot' keyword with optional base64 boolean
- Add keyword 'take screenshot from element' for capturing element with xpath
* Fix multiple build errors
- Fix initialization error due to missing automation parameter
- fix line too long
- Fix build errors, add ignore for ImageFormat
- Remove ScreenshotType
- Remove unused Optional import
* Add screenshot mode, Adjust parameter to retrieved element, execute capture based on mode
* Add AutomationInterfaceContainer, Combine capture into single keyword with optional XPATH, Add set mode keyword
* Remove unused imports
* Change example text
* Add simple testcases for new screenshot keyword behaviour
* Fix init to use container for screenshot keywords, remove container from Screenshot module
* Fix ScreenshotMode not defined (missing self)
* add getter for screenshot mode, Fix linting
errors/warnings, adjust docstrings
* Update changelog
* Fix missing default value for element in _capture_base64
* Improve screenshot testcases for base64 mode and xpath
* Fix argument name typo
* Tiny fix of take_screenshot docstring to explain identifier
* Fix AttributeError due to improper key access
* Add truthy checks in base64 screenshot tests before checking length
* Remove redundant None, explicit msg argument for get_element
* Add return statement to _capture function
* Fix check for None (wrong keyword used)
* Fix element assigned to wrong argument for screenshot action
* Remove redundant screenshot logging in keyword
* Fix filename for screenshot in test
* Fix Screenshot.robot (reorder test cases, deactivate Base64)
* Update Screenshot.robot (Minor format adjustment)
* Add getter keyword for screenshot log mode
* Add teardown mechanism with default state for all screenshot cases
* Add missing PID for reset to properly close applications
* Update .gitignore for custom keen.bat file in development
* Fix pylint errors to get them good grades
* Fix missing trailing blank line
* Fix via robotidy
0 commit comments