We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Request Type: Requirement
Keyword: Capture Page Screenshot EMBED
Capture Page Screenshot EMBED
TEST MESSAGE
Adjusting code like below in screenshot.py helps to return base64 path
screenshot.py
base64
def _capture_page_screen_to_log(self): screenshot_as_base64 = self.driver.get_screenshot_as_base64() self._embed_to_log_as_base64(screenshot_as_base64, 800) return screenshot_as_base64 # old: return EMBED
We display base64 image in TEST MESSAGE section
*** Settings *** Library SeleniumLibrary run_on_failure=Capture Embed Screenshot *** Keywords *** Capture Embed Screenshot ${path}= Capture Page Screenshot EMBED Set Test Message *HTML* <img src="data:image/png;base64,${path}" width="800px"> append=${True}
The text was updated successfully, but these errors were encountered:
This is duplicate of #1923 PR 97ca29b
Sorry, something went wrong.
emanlove
No branches or pull requests
Request Type: Requirement
Keyword:
Capture Page Screenshot EMBED
Details:
TEST MESSAGE
section. This helps in quick analysisApproach:
Adjusting code like below in
screenshot.py
helps to returnbase64
pathUsage In Robot:
We display base64 image in
TEST MESSAGE
sectionThe text was updated successfully, but these errors were encountered: