We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b53f454 commit b8c5c70Copy full SHA for b8c5c70
src/Selenium2Library/locators/customlocator.py
@@ -19,7 +19,7 @@ def find(self, *args):
19
elif hasattr(self.finder, '__caller__'):
20
element = self.finder(*args)
21
else:
22
- raise AttributeError('Invalid type provided as a Custom Locator')
+ raise AttributeError('Invalid type provided for Custom Locator %s' % self.name)
23
24
# Always return an array
25
if hasattr(element, '__len__') and (not isinstance(element, string_type)):
0 commit comments