i want to show a message

msgbox " you have done"

if web browser contains "you have login"

if WebBrowser1.Document ????????????? then
masgbox "done"

Recommended Answers

All 3 Replies

Hi,

First you have to View Source of the WebPage and then, check where the text is located... it may be a Label or DIV or a Row/Cell in Table... Search accordingly and display...

Regards
Veena

not in source, just on web page
if

just if web page body have text logout

then msg box

if it is not in the source it is not on the web page, the source being the source of the web page.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.