Skip to content

Commit

Permalink
Minor text change. No logical change
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Sep 28, 2021
1 parent 95776ce commit 6ec36b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/org/openqa/selenium/remote/RemoteWebDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ public String getText() {
*/
@Override
public void sendKeys(String keysToSend) {
if(keysToSend==null) {
if (keysToSend == null) {
throw new IllegalArgumentException("Keys to send should be a not null CharSequence");
}
execute(DriverCommand.SET_ALERT_VALUE(keysToSend));
Expand Down

0 comments on commit 6ec36b7

Please sign in to comment.