Skip to main content

How to troubleshoot Selenium Grid?

You can troubleshoot using 2 ways:

Using -debug argument in Selenium Grid

You can use -debug argument to print debug logs to console. Start Selenium Grid Hub or Node with -debug argument. Please see the below example:

$ java -jar selenium-server-standalone.jar -role hub -debug

Using Log Files in Selenium Grid

Also For advanced troubleshooting you can specify a log file to log system messages. Start Selenium GRID hub or node with -log argument. Please see the below example:

java -jar selenium-server-standalone.jar -role hub -log logfilename.txt

Use text editor of your choice to open log file ) to find “ERROR” logs if you get issues.

Submitted by tgoswami on August 31, 2020

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.

About

At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.