From 0cc33f82bf8808f924fa87df92eacce70f296f82 Mon Sep 17 00:00:00 2001 From: Greg Meece Date: Thu, 15 Dec 2016 15:18:29 -0600 Subject: [PATCH] Clarified `get_matching_xpath_count` returns str Updated documentation to include the return type (string) of the XPath count. --- src/Selenium2Library/keywords/_element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Selenium2Library/keywords/_element.py b/src/Selenium2Library/keywords/_element.py index 16f4846e2..e0ee42e1f 100644 --- a/src/Selenium2Library/keywords/_element.py +++ b/src/Selenium2Library/keywords/_element.py @@ -607,7 +607,7 @@ def page_should_not_contain_image(self, locator, message='', loglevel='INFO'): # Public, xpath def get_matching_xpath_count(self, xpath): - """Returns number of elements matching `xpath` + """Returns number of elements matching `xpath` as a string. One should not use the xpath= prefix for 'xpath'. XPath is assumed.