Skip to content

Commit 6828f52

Browse files
[java] change access modifier of RemoteWebElement.execute method (#8398)
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.
1 parent 3912f49 commit 6828f52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/client/src/org/openqa/selenium/remote/RemoteWebElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ protected List<WebElement> findElements(String using, String value) {
232232
return allElements;
233233
}
234234

235-
Response execute(CommandPayload payload) {
235+
protected Response execute(CommandPayload payload) {
236236
return parent.execute(payload);
237237
}
238238

0 commit comments

Comments
 (0)