Skip to content

Return screenshot as base64 string and embed into log #1939

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

emanlove
Copy link
Member

This is a slightly modified version of #1923 which instead of modifying the EMBED functionality currently implemented, it allows for returning the base64 tring is one uses BASE64 instead. The reason for providing this alternative method is to prevent signifigant increase in filesize for the current users whom might not need the returned string.

emanlove added 6 commits May 24, 2025 16:08
- Updated unit test to look for a tuple
- Fixed issue with code on return statement
- Fixed issue with unit tests
Forgot to add in the setting of the screenshot directory to handle BASE64 when not in all caps.
There is a still an error when the library is initialized with
something like `bASe64`. It is not setting it. From the code this looks
like the unintended behavior. But then I don't understand why theother test case
works when `EmBed` is given. This too should fail as per my reading of the code.
Going to trace through a bit more to see why that isn't failing and what I may be
missing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants