We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c02dcdb commit 2479beaCopy full SHA for 2479bea
src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java
@@ -1074,7 +1074,11 @@ public Path getRecordingPath(WebDriver driver) {
1074
}
1075
1076
public String getRecordingBase64() {
1077
- return webDriverList.get(0).getRecordingBase64();
+ String recording = null;
1078
+ if (!webDriverList.isEmpty()) {
1079
+ recording = webDriverList.get(0).getRecordingBase64();
1080
+ }
1081
+ return recording;
1082
1083
1084
public String getRecordingPath64(WebDriver driver) {
0 commit comments