Skip to content

Commit

Permalink
[java] change access modifier of RemoteWebElement.execute method (#8398)
Browse files Browse the repository at this point in the history
We have extended RemoteWebElement and added more capabilities by extending RemoteWebElement. We have overridden `execute` method.

Now this method has been replaced by `CommandPayload` arguments, these need to be a protected method to support override. Earlier it was support in selenium version 2 and 3.
  • Loading branch information
amitbhoraniya authored Jun 8, 2020
1 parent 3912f49 commit 6828f52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ protected List<WebElement> findElements(String using, String value) {
return allElements;
}

Response execute(CommandPayload payload) {
protected Response execute(CommandPayload payload) {
return parent.execute(payload);
}

Expand Down

0 comments on commit 6828f52

Please sign in to comment.