def open_user_menu(self):
"""
Hamburger (user) menu opener.
ToDo: branching to handle if a toggle is already open
"""
"""if self.get_window_size('width') <= self.CONDENSED_WIDTH:
# compressed window display on Tutor
self.wait.until(
expect.visibility_of_element_located(
(By.CLASS_NAME, 'navbar-toggle')
)
).click()"""
self.wait.until(
expect.visibility_of_element_located(
(By.CSS_SELECTOR, '#user-actions-menu')
)
).click()
评论列表
文章目录