Skip to content

Commit c35c277

Browse files
committed
move a method
1 parent f8cc18c commit c35c277

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

modules/browser_object_navigation.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,10 @@ def wait_for_download_animation_finish(
183183
)
184184
except TimeoutException:
185185
logging.warning("Animation did not finish or did not play.")
186+
187+
def open_tracker_panel(self) -> BasePage:
188+
"""
189+
Clicks the shield icon and opens the panel associated with it
190+
"""
191+
self.get_element("shield-icon").click()
192+
return self

modules/page_base.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -606,13 +606,6 @@ def hide_popup_by_child_node(
606606
with self.driver.context(self.context_id):
607607
self.driver.execute_script(script, node)
608608

609-
def open_tracker_panel(self) -> Page:
610-
"""
611-
Clicks the shield icon and opens the panel associated with it
612-
"""
613-
self.get_element("shield-icon").click()
614-
return self
615-
616609
@property
617610
def loaded(self):
618611
"""

0 commit comments

Comments
 (0)