Skip to content

Commit 73c296f

Browse files
committed
Comments
1 parent 213f634 commit 73c296f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/resources/testlibs/CustomSeleniumKeywords.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
class CustomSeleniumKeywords(Selenium2Library):
66

77
def __init__(self, *args, **kwargs):
8+
"""Share `Selenium2Library`'s cache of browsers, so that
9+
we don't have to open a separate browser instance for the `Run On Failure Keyword Only Called Once`
10+
test."""
811
ret = super(CustomSeleniumKeywords, self).__init__(*args, **kwargs)
912
self._cache = BuiltIn().get_library_instance("Selenium2Library")._cache
1013

0 commit comments

Comments
 (0)