cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get a web element from Chrome browser using VBScript?I

hkap
Contributor

How do I get a web element from Chrome browser using VBScript?I

Using VBScript on Google Chrome browser, I am trying to search a product name

 

ex: 

Dim Chrome, oVal

Set Chrome = CreateObject("GoogleChrome.Application")
Chrome.Visible = True

Chrome.Navigate "http://smartbear.com/"

Set oVal = Chrome.Document.GetElementsByName("PhraseToSearch").Value = "ProductA"

 

I am getting runtime error.

ActiveX component can't create object: 'GoogleChrome.Application'

2 REPLIES 2
baxatob
Community Hero

Re: How do I get a web element from Chrome browser using VBScript?I

hkap
Contributor

Re: How do I get a web element from Chrome browser using VBScript?I

Thanks for the info.

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors