Skip to content

Commit

Permalink
Fixed for VisualListener
Browse files Browse the repository at this point in the history
  • Loading branch information
martingrossmann committed Jul 19, 2024
1 parent 9d83416 commit bfed5e4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ public WebDriver setupNewWebDriverSession(WebDriver webDriver, SessionContext se
new EventLoggingDriverListener(),
visualListener
).decorate(webDriver);
visualListener.driver = decoratedDriver; // Needed to interact with current session

// In case of app automation it es not possible to call a URL
if (StringUtils.isNotBlank(appiumDriverRequest.getBrowser())) {
Expand Down

0 comments on commit bfed5e4

Please sign in to comment.