Finding dynamic Div tag using its innertext

S

Simbolla Simbolla

Hi all,

I am using watir , in that have a scenario where they change a innertext
of div tag using javascript.Some thing like
Onclick of button they change innertext of div tag. I want to find that
dynamic div tag using the innertext (Inner text will be known & it's
expected result),please some body tell how to solve this problem.

Note : Dynamic Div tag means they are generating div tag using
javascript at runtime.

thanks
Vinod
 
B

Bret Pettichord

[Note: parts of this message were removed to make it a legal post.]

browser.div:)text, 'dynamic text').

Hi all,

I am using watir , in that have a scenario where they change a innertext
of div tag using javascript.Some thing like
Onclick of button they change innertext of div tag. I want to find that
dynamic div tag using the innertext (Inner text will be known & it's
expected result),please some body tell how to solve this problem.

Note : Dynamic Div tag means they are generating div tag using
javascript at runtime.

thanks
Vinod


--
Bret Pettichord
Lead Developer, Watir, www.watir.com

Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top