The test ran completely fine with the local driver (ChromeDriver). How to avoid “Java heap space Error” exception?
Hello Dipen,
In case you are passing
capabilities.setCapability("visual", true), this might be causing the issue.
Request you to kindly pass capabilities.setCapability("visual", false)