File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -152,9 +152,10 @@ def open_history_menu(self) -> BasePage:
152
152
"""
153
153
Opens the History menu
154
154
"""
155
- if not self .get_elements ("panel-main-view" ):
155
+ if not self .is_element_present ("panel-main-view" ):
156
156
self .open_panel_menu ()
157
- self .get_element ("panel-ui-history" ).click ()
157
+ self .click_on ("panel-ui-history" )
158
+ self .element_visible ("panel-ui-history-view" )
158
159
return self
159
160
160
161
def select_clear_history_option (self , option : str ) -> BasePage :
Original file line number Diff line number Diff line change 115
115
"groups" : []
116
116
},
117
117
118
+ "panel-ui-history-view" : {
119
+ "selectorData" : " PanelUI-history" ,
120
+ "strategy" : " id" ,
121
+ "groups" : [
122
+ " doNotCache"
123
+ ]
124
+ },
125
+
118
126
"panel-ui-history-recently-closed" : {
119
127
"selectorData" : " appMenuRecentlyClosedTabs" ,
120
128
"strategy" : " id" ,
You can’t perform that action at this time.
0 commit comments