is it possbile to locate an element created by javascript using webdriver? -
In firebug, I used the element inspector to detect an element, and then the name of that element is WebRider FindElementByName By the work of, but it complains that the element can not be found, the element has been changed by javascript, because I can not find the use of "View Page Source" if it is possible to find such an element in a WebDriver ?
Do you have at least HTML?
What I'm assuming is that you have to wait until you finish your JavaScript. If your app uses jQuery then use it and then find the element using the attribute. In that case you have to be perfect with the selector.
Something I should be thinking is what I am thinking.
By.CssSelector ("[type = 'checkbox']") / / attribute = attribute value
Comments
Post a Comment