Commit 2e8df9b5 authored by Mark Lapierre's avatar Mark Lapierre

Pass keyword args explicitly

This resolves a deprecation error.
parent c6c3de5a
......@@ -236,7 +236,7 @@ module QA
if disabled.nil?
has_css?(element_selector_css(name, kwargs), text: text, wait: wait, class: klass, visible: visible)
else
find_element(name, original_kwargs).disabled? == disabled
find_element(name, **original_kwargs).disabled? == disabled
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment