Skip to content

Commit b5ec621

Browse files
committed
Made Strategies clsss context aware
1 parent bb24748 commit b5ec621

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/SeleniumLibrary/locators/elementfinder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ def _get_tag_and_constraints(self, tag):
134134
return tag, constraints
135135

136136

137-
class Strategies:
138-
def __init__(self):
137+
class Strategies(ContextAware):
138+
def __init__(self, ctx):
139+
ContextAware.__init__(self, ctx)
139140
strategies = {
140141
"identifier": ElementFinder._find_by_identifier,
141142
"id": ElementFinder._find_by_id,

0 commit comments

Comments
 (0)