Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #259 from AndreiH/tabzilla

Changed method for toggle_tabzilla_dropdown()
  • Loading branch information...
commit bfe6ab922b96d8ed236db778dc83a02db2573eda 2 parents 42b146f + 8b3fcce
Florin Strugariu bebef1987 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 pages/desktop/base.py
4 pages/desktop/base.py
View
@@ -106,9 +106,9 @@ class Header(Page):
]
def toggle_tabzilla_dropdown(self):
- toggle_state = self.selenium.execute_script('Tabzilla.close()')
self.selenium.find_element(*self._tabzilla).click()
- WebDriverWait(self.selenium, 7).until(lambda state: toggle_state == state.execute_script('Tabzilla.open()'))
+ WebDriverWait(self.selenium, self.timeout).until(
+ lambda s: s.find_element(*self._tabzilla).get_attribute('class') == "tabzilla-opened")
@property
def is_tabzilla_panel_visible(self):
Please sign in to comment.
Something went wrong with that request. Please try again.