File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
java/src/org/openqa/selenium/remote Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1818package org .openqa .selenium .remote ;
1919
2020import java .util .Map ;
21+ import org .jspecify .annotations .NullMarked ;
22+ import org .jspecify .annotations .Nullable ;
2123
2224/**
2325 * An encapsulation of {@link org.openqa.selenium.remote.RemoteWebDriver#executeScript(String,
2426 * Object...)}.
2527 */
28+ @ NullMarked
2629public interface ExecuteMethod {
2730 /**
2831 * Execute the given command on the remote webdriver server. Any exceptions will be thrown by the
@@ -32,5 +35,6 @@ public interface ExecuteMethod {
3235 * @param parameters The parameters to execute that command with
3336 * @return The result of {@link Response#getValue()}.
3437 */
35- Object execute (String commandName , Map <String , ?> parameters );
38+ @ Nullable Object execute (String commandName , @ Nullable Map <String , ?> parameters );
39+
3640}
You can’t perform that action at this time.
0 commit comments