What is the selenese command to show the value of a variable in the log file?



What is the selenese command to show the value of a variable in the log file?..

Answer / Manoj Kumar Vishwakarma

To print the value of a variable in the Selenium WebDriver log, you can use the `System.out.println()` function and pass the variable as an argument.nnExample: `System.out.println(myVariable);`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

When to use accessors in selenium?

1 Answers  


What is difference between qtp and selenium?

1 Answers  


What are the technical limitations while using selenium rc?

1 Answers  


What are the different exceptions you got when working with webdriver?

1 Answers  


What is the command to connect a node to the selenium grid?

1 Answers  


What types of cases can be automated with Selenium?

1 Answers  


What is the difference between “/” and “XPath //”?

1 Answers  


Describe technical problems that you had with selenium tool?

1 Answers  


How to check a Selenium checkbox?

1 Answers  


How to press enter key on text box in selenium webdriver?

1 Answers  


What exactly is selenium remote-control (rc) tool?

1 Answers  


We do create a reference variable ‘driver’ of type webdriver

1 Answers  


Categories