BrowserSteps - Refactored to re-use playwright context which should solve some errors

This commit is contained in:
dgtlmoon
2023-05-12 10:36:33 +02:00
parent 5f338d7824
commit e4f6d54ae2
5 changed files with 131 additions and 156 deletions

View File

@@ -182,7 +182,8 @@ class Fetcher():
optional_value=optional_value)
self.screenshot_step(step_n)
self.save_step_html(step_n)
except TimeoutError:
except TimeoutError as e:
print(str(e))
# Stop processing here
raise BrowserStepsStepTimout(step_n=step_n)