Get the current URL of Webdriver in c#

1,885 views
Skip to first unread message

Arun Pp

unread,
Jan 22, 2013, 6:58:39 AM1/22/13
to seleniu...@googlegroups.com

  bool Status= driver.Url.Contains("Enter your string");
                   if (Status)
                  {

                    Do the action here.....!!!
                    }


This is the simple & easiest way to check & get the current url of webdriver in c#. Which helps to identify the particular page and do the actions agains the checks.

Anil Simon

unread,
Jan 22, 2013, 7:02:28 AM1/22/13
to seleniu...@googlegroups.com
Message has been deleted

Anil Simon

unread,
Jan 22, 2013, 7:03:41 AM1/22/13
to seleniu...@googlegroups.com
Thanks Arun!!!
Reply all
Reply to author
Forward
0 new messages