Skip to content

Commit

Permalink
Implementation of views and entities for new "Alternate Content Sourc…
Browse files Browse the repository at this point in the history
…es" page (#876) (#911)

* Implementation of views and entities for  Alternate Content Sources

* Match keyword replaced with ifs

* Correct docstrings so sphinx is happy

* Correct docstrings so sphinx is happy 2

* Pre commit run

* Remove TODOs as some BZs were resolved

* PR comments addressed

* Remove sleep

(cherry picked from commit 781dfdc)

Co-authored-by: Ladislav Vašina <lvasina@redhat.com>
  • Loading branch information
Satellite-QE and LadislavVasina1 authored Jul 26, 2023
1 parent 5ebee7e commit 47cdf71
Show file tree
Hide file tree
Showing 6 changed files with 1,270 additions and 11 deletions.
8 changes: 8 additions & 0 deletions airgun/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,14 @@ def after_click(self, element, locator=None):
# ignore_ajax=True usage from browser click
pass

def do_refresh(self):
"""
Refresh current page.
"""

self.browser.refresh()
self.browser.plugin.ensure_page_safe()


class AirgunBrowser(Browser):
"""A wrapper around :class:`widgetastic.browser.Browser` which injects
Expand Down
Loading

0 comments on commit 47cdf71

Please sign in to comment.