How do you find element using Java Script?
Answers were Sorted based on User's Feedback
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 |
From your test script how you can create html test report?
What is the difference between captureentirepagescreenshot and capturescreenshot?
What is selenium? What are the different components of Selenium?
What is the difference between assert and verify in selenium?
How you can convert any selenium ide tests from selenese to another language?
What is webdriverbackedselenium?
Mention when to use autoit?
Explain me what are the main advantages of selenium?
What is a data driven framework?
How do you read test data from excels?
What is listeners in selenium webdriver?
List out the test types that are supported by selenium?