Interview Questions

Selenium WebdDriver - What is the command that is used in order to display the values of a variable into the output console or log?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

Selenium WebdDriver - What is the command that is used in order to display the values of a variable into the output console or log?

In order to display a constant string, command can be used is echo <constant string>
If order to display the value of a variable you can use command like echo ${variable name>>
Above is using PHP. If you are using Java, replace echo with System.out.println

(Continued on next question...)

Other Interview Questions