Skip to content

Commit c87bb45

Browse files
committed
Added BASE64 to set screenshot directory keyword
Forgot to add in the setting of the screenshot directory to handle BASE64 when not in all caps.
1 parent 0f5cf9c commit c87bb45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/SeleniumLibrary/keywords/screenshot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ def set_screenshot_directory(self, path: Union[None, str]) -> str:
6161
path = None
6262
elif path.upper() == EMBED:
6363
path = EMBED
64+
elif path.upper() == BASE64:
65+
path = BASE64
6466
else:
6567
path = os.path.abspath(path)
6668
self._create_directory(path)

0 commit comments

Comments
 (0)