adspace


Explain how you can capture server side log selenium server?

Answer Posted / Abhijeet Ghosh

To capture server-side logs using Selenium, you need to integrate it with a tool that provides logging functionality. One such popular tool is WebDriver Loggy. Here's an example of capturing logs for ChromeDriver in Java:nn```javanDesiredCapabilities caps = new DesiredCapabilities();ncaps.setCapability(ChromeDriverService.LOG_PATH, "/path/to/logs");nWebDriver driver = new ChromeDriver(caps);n```

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know how to locate a link using its text in selenium?

986


How can you fetch an attribute from an element? How to retrieve typed text from a textbox?

1197


what will be the first salary and what will be the hike in the salary?

929


Have you created any framework?

1039


What’s selenese?

920