Hi Team, I am trying to get the current webdriver instance in one of the custom keyword which I want to use to get the logs related to that instance.
WebDriver driver = DriverFactory.getWebDriver()
driver.manage().logs().getAvailableLogTypes();
But Katalon is displaying the following error for the above code. I have also set the desired capability for chrome with value w3c=false, still no luck.
Caused by: org.openqa.selenium.UnsupportedCommandException: unknown command: Cannot call non W3C standard command while in W3C mode
My setup details:
Katalon: 7.8.2
Chrome: 87.0.4280.88
Please find the attached screenshot related to the issue and let me know how can I resolve this issue.