Hi,
I came across the new API for initiating a screencast in Selenium 4, but I can't find any example for using it. I am interested in seeing how the results would come back to my Java code, as I can't see any way to register my callback. Can someone give me some help or a working example?
Thanks,
Balazs
@Beta()
public static Command<Void> startScreencast(java.util.Optional<StartScreencastFormat> format, java.util.Optional<java.lang.Integer> quality, java.util.Optional<java.lang.Integer> maxWidth, java.util.Optional<java.lang.Integer> maxHeight, java.util.Optional<java.lang.Integer> everyNthFrame) {