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 |
When to use accessors in selenium?
What is difference between qtp and selenium?
What are the technical limitations while using selenium rc?
What are the different exceptions you got when working with webdriver?
What is the command to connect a node to the selenium grid?
What types of cases can be automated with Selenium?
What is the difference between “/” and “XPath //”?
Describe technical problems that you had with selenium tool?
How to check a Selenium checkbox?
How to press enter key on text box in selenium webdriver?
What exactly is selenium remote-control (rc) tool?
We do create a reference variable ‘driver’ of type webdriver