File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/JupyterLibrary/keywords Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ commands:
3434 env_spec : rfjl37
3535
3636 atest:win :
37- windows : rm -rf _artifacts\test_output && python -m scripts.atest
37+ windows : rmdir /s /q _artifacts\test_output && python -m scripts.atest
3838 env_spec : win_rfjl37
3939
4040 clean :
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class ScreenshotKeywords(LibraryComponent):
1818 def capture_element_screenshot (self , locator , filename ):
1919 el = self .find_element (locator )
2020 bbox = self .normalize_bounding_box ({** el .location , ** el .size })
21- BuiltIn ().run_keyword ("Capture Page Screenshot" , filename )
21+ filename = BuiltIn ().run_keyword ("Capture Page Screenshot" , filename )
2222 self .crop_image (filename , ** bbox )
2323
2424 def normalize_bounding_box (self , bbox ):
You can’t perform that action at this time.
0 commit comments