Skip to content

Commit 1016341

Browse files
committed
lint
1 parent 072c3d0 commit 1016341

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/browser_object_navigation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,9 @@ def open_bookmark_in_new_private_window_via_context_menu(
585585
"""
586586
self.panel_ui.element_clickable("bookmark-by-title", labels=[bookmark_title])
587587
self.panel_ui.context_click("bookmark-by-title", labels=[bookmark_title])
588-
self.context_menu.click_on("context-menu-toolbar-open-in-new-private-window")
588+
self.context_menu.click_and_hide_menu(
589+
"context-menu-toolbar-open-in-new-private-window"
590+
)
589591
return self
590592

591593
@BasePage.context_chrome

0 commit comments

Comments
 (0)