File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -546,15 +546,16 @@ def verify_edit_bookmark_panel_not_visible_after_navigation(self) -> BasePage:
546
546
self .panel_ui .element_not_visible ("show-editor-when-saving-checkbox" )
547
547
return self
548
548
549
+ @BasePage .context_chrome
549
550
def open_bookmark_from_toolbar (self , bookmark_title : str ) -> BasePage :
550
551
"""
551
- Right-clicks bookmark and opens it in a new private window via context menu
552
+ Clicks bookmark to open it in the current tab
552
553
553
554
Argument:
554
555
bookmark_title: The title of the bookmark to open
555
556
"""
556
557
self .panel_ui .element_clickable ("bookmark-by-title" , labels = [bookmark_title ])
557
- self .panel_ui .context_click ("bookmark-by-title" , labels = [bookmark_title ])
558
+ self .panel_ui .click_on ("bookmark-by-title" , labels = [bookmark_title ])
558
559
return self
559
560
560
561
@BasePage .context_chrome
You can’t perform that action at this time.
0 commit comments