How does one execute java scripts function in selenium?



How does one execute java scripts function in selenium?..

Answer / Bierjesh Singh Dhillon

To execute JavaScript functions in Selenium, you can use the `executeScript()` method of the `driver` object. Pass your JavaScript code as a parameter to this method.n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

Tell us how will you use selenium to upload a file?

1 Answers  


What are desiredcapabilities in selenium webdriver?

1 Answers  


What are the junits annotation linked with selenium?

1 Answers  


What distinguishes between an absolute and relative url in side?

1 Answers  


What is selenium rc?

1 Answers  


What is page object model in selenium?

1 Answers  


How to do file upload in selenium?

1 Answers  


How to validate the dropdown value contains specific value or not?

1 Answers  


How can you insert a start point in selenium ide?

1 Answers  


How to use frame elements in Selenium on a page?

1 Answers  


What is object repository? How can we create an object repository in selenium?

1 Answers  


What is Selenese?

1 Answers  


Categories