Skip to content

Commit eb816b8

Browse files
committed
doc
1 parent 8b01dd6 commit eb816b8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

SELECTOR_INFO.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3043,6 +3043,12 @@ Location: Toolbar
30433043
Path to .json: modules/data/panel_ui.components.json
30443044
```
30453045
```
3046+
Selector name: panel-main-view
3047+
Description: Main body of Panel UI
3048+
Location: See above
3049+
Path to .json: modules/data/panel_ui.components.json
3050+
```
3051+
```
30463052
Selector name: sync-user-button
30473053
Selector Data: toolbarbutton[id='fxa-toolbar-menu-button']
30483054
Description: Account button
@@ -3148,6 +3154,12 @@ Location: Firefox menu
31483154
Path to .json: modules/data/panel_ui.components.json
31493155
```
31503156
```
3157+
Selector name: panel-ui-history-view
3158+
Description: Subview of Panel UI
3159+
Location: See above
3160+
Path to .json: modules/data/panel_ui.components.json
3161+
```
3162+
```
31513163
Selector name: panel-ui-history-recently-closed
31523164
Selector Data: appMenuRecentlyClosedTabs
31533165
Description: Recently closed tabs

modules/browser_object_panel_ui.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ def get_bookmark_tags(self, tags: List[str]) -> List[str]:
252252

253253
@BasePage.context_chrome
254254
def clear_recent_history(self, execute=True) -> BasePage:
255+
"""Clears recent history. Case of execute=True may not be complete"""
255256
self.open_panel_menu()
256257
# Bug 1974080
257258
if self.sys_platform() == "Windows":
@@ -268,6 +269,7 @@ def clear_recent_history(self, execute=True) -> BasePage:
268269

269270
@BasePage.context_chrome
270271
def confirm_history_clear(self):
272+
"""Confirm that the history is empty"""
271273
self.open_history_menu()
272274
self.expect_element_attribute_contains(
273275
"recent-history-content", "value", "(Empty)"

0 commit comments

Comments
 (0)