Skip to content

Commit 03b3a95

Browse files
committed
clean up clear history test
1 parent 3681b34 commit 03b3a95

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/browser_object_panel_ui.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def get_bookmark_tags(self, tags: List[str]) -> List[str]:
253253
]
254254

255255
@BasePage.context_chrome
256-
def clear_recent_history(self, execute=True):
256+
def clear_recent_history(self, execute=True) -> BasePage:
257257
self.open_panel_menu()
258258
# Bug 1974080
259259
if self.sys_platform() == "Windows":
@@ -265,3 +265,5 @@ def clear_recent_history(self, execute=True):
265265
self.element_clickable("clear-recent-history")
266266
if execute:
267267
self.click("clear_recent_history")
268+
269+
return self

0 commit comments

Comments
 (0)