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 b869b99 commit 086e9fbCopy full SHA for 086e9fb
2 files changed
rb/lib/selenium/webdriver/atoms.rb
@@ -28,7 +28,8 @@ def read_atom(function)
28
end
29
30
def execute_atom(function_name, *arguments)
31
- script = format("return (%<atom>s).apply(null, arguments)", atom: read_atom(function_name))
+ script = format("/* #{function_name} */ return (%<atom>s).apply(null, arguments)",
32
+ atom: read_atom(function_name))
33
execute_script(script, *arguments)
34
35
rb/lib/selenium/webdriver/remote/bridge.rb
@@ -417,7 +417,7 @@ def clear_element(element)
417
418
419
def submit_element(element)
420
- script = "var form = arguments[0];\n" \
+ script = "/* submitForm */ var form = arguments[0];\n" \
421
"while (form.nodeName != \"FORM\" && form.parentNode) {\n " \
422
"form = form.parentNode;\n" \
423
"}\n" \
0 commit comments