WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: stanl on August 29, 2021, 08:23:08 AM

Title: SeleniumBasic - part 2
Post by: stanl on August 29, 2021, 08:23:08 AM
Since the last thread ended with dad's proud of their daughters - a refresher
So tried latest script code in CLR.... but get error... not a complaint but it is interesting to see how objects are treated by the same application with different code.


Code (WINBATCH) Select


ObjectClrOption("Appbase", 'C:\Scripts\edge\')
ObjectClrOption("use", 'Selenium')
Assert = ObjectClrNew("Selenium.Assert")
driver = ObjectClrNew("Selenium.EdgeDriver")
url = "https://www.automationandagile.com/p/sample-form.html"
driver.Get(url) ;fails here with Method Not Found
Title: Re: SeleniumBasic - part 2
Post by: td on August 29, 2021, 08:26:38 AM
Could be a method signature issue of some kind. A documentation search may lead to learning what is required for the method call.