Skip to content

Commit

Permalink
Now turning on by default, sorry :(
Browse files Browse the repository at this point in the history
  • Loading branch information
psav committed Jul 16, 2018
1 parent 5d3968e commit 27dde8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/widgetastic/browser.py
Expand Up @@ -349,11 +349,12 @@ def click(self, locator, *args, **kwargs):
"""
self.logger.debug('click: %r', locator)
ignore_ajax = kwargs.pop('ignore_ajax', False)
nav_click = kwargs.pop('nav_click', False)
nav_click = kwargs.pop('nav_click', True)
el = self.move_to_element(locator, *args, **kwargs)
self.plugin.before_click(el)
# and then click on current mouse position
if nav_click and self.browser_type.lower() == 'firefox' and self.browser_version > 52:
self.logger.warning('Using the workaround')
el.click()
element = self.browser.element('//body')
try:
Expand Down

0 comments on commit 27dde8d

Please sign in to comment.