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 ? | 11 Yes | 0 No |
How colors could be handled in selenium webdriver?
How to insert a comment in selenium ide?
List the different testing types supported by selenium.
Difference between get window handle & get window handles
What exactly is the price of selenium test-suite?
From your test script how you can create html test report?
How to scroll down a page using javascript in selenium?
How to select a value in a dropdown?
How recorded command can be edited in ide?
What kinds of test types are supported by selenium?
How to mouse hover on a web element using webdriver?
While using click command can you use screen coordinate?