Skip to content

Commit

Permalink
just for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Temidayo32 committed Feb 4, 2025
1 parent 16b24ba commit 731b778
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion foxpuppet/windows/browser/panel_ui/panel_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,11 @@ def open_new_tab(self) -> None:
Opens a new tab using the Panel UI menu.
"""
self.open_panel_menu()
script = """return navigator.userAgent"""
version = self.selenium.execute_script(script)
print("firefox version:", version)
with self.selenium.context(self.selenium.CONTEXT_CHROME):
self.selenium.find_element(*PanelUILocators.NEW_TAB).click()
self.selenium.find_element(*PanelUILocators.NEW_TAB).clik()

def open_new_window(self) -> None:
"""
Expand Down

0 comments on commit 731b778

Please sign in to comment.