diff --git a/toolium/visual_test.py b/toolium/visual_test.py index 1f3d3015..c554b58b 100644 --- a/toolium/visual_test.py +++ b/toolium/visual_test.py @@ -102,7 +102,7 @@ def assert_screenshot(self, element, filename, file_suffix=None, threshold=0, ex # Search elements web_element = self.utils.get_web_element(element) - exclude_web_elements = _get_exclude_web_elements(self, exclude_elements) + exclude_web_elements = self._get_exclude_web_elements(self, exclude_elements) baseline_path = os.path.join(self.baseline_directory, '{}.png'.format(filename)) filename_with_suffix = '{0}__{1}'.format(filename, file_suffix) if file_suffix else filename