adspace


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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1197


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

986


What’s selenese?

920


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

929


Have you created any framework?

1039