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)

* 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
  • Loading branch information
LadislavVasina1 authored Jul 25, 2023
1 parent cbcf65a commit 781dfdc
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 781dfdc

Please sign in to comment.