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 |
Explain how you can switch between frames?
Which automation tools can be used for post-launch validation with continuous integration?
What is selenium webdriver?
How to capture screenshot in selenium webdriver?
What selenese command and argument can be used to transfer the value of a javascript variable into a side variable?
Mention what is listeners in selenium webdriver?
its urgent, am trying for jobs. can anyone tell me please in corporate environment , how do we generate reports using selenium? is it default report or xslt report or custom report?? its very urgent.. thanks in advance
Which are the browsers supported by selenium rc?
what are the Dynamic elements in web Application?
What is the price of selenium license per server?
Tell me how you can find broken images in a page using selenium web driver?
Is webelement an interface or a class?