Answer Posted / grbhniti@yahoo.co.in
Hi,
By using javascriptexecutor we can perform tasks as below
I am entering text in textbox by passing ID.
JavascriptExecutor js= (JavascriptExecutor)driver;
js.executeScript("document.getElementById('vfb-9').value='Ramchandra Patil'");
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What are some of the advantages of selenium grid?
When do you use selenium grid?
How to do file upload in selenium?
what is mutation testing, Difference between system and End to End testing,Give examples of bug having high priority but low severity except spelling mistakes and logo symbol.
How do you achieve synchronization in webdriver?
How to handle dropdowns in selenium?
what is the difference between 2.0 & 3.0
Hi can anyone suggest me what type of non technical questions asked in interview for experienced people, I am trying to get job with fake experience can anyone help me please
Which are the operating systems supported by selenium?
What is the difference between poi and jxl jar?
What is the selenium ide and what is it used for?
What is testng and how is it better than junit?
How to take screenshots in selenium webdriver?
What is the difference between driver.findelement() and driver.findelements() commands?
What is page object model in selenium?