Scriptable Selenium from VBScript

65 views
Skip to first unread message

L.Mohan Arun

unread,
Sep 4, 2015, 6:39:06 AM9/4/15
to Selenium Users
How can I use a scriptable Selenium VB component?
i.e I want to check the HTTP status code of a given URL regardless of what
web browser has been installed, from a Microsoft Visual Basic Script.
Is there such a thing?
May be I should have checked the FAQ, but I am running short of time.
Any help would be appreciated.


David

unread,
Sep 8, 2015, 7:45:37 PM9/8/15
to Selenium Users
You probably want to use XmlHttpRequest COM component to make HTTP request then check status code of response. It's avaible for VBScript, likely for VB too.

Selenium doesn't offer checking status codes of responses. But if you did want Selenium API for VBScript/VB, you can check these:


Reply all
Reply to author
Forward
0 new messages