SeleniumBasic - part 2

Started by stanl, August 29, 2021, 08:23:08 AM

Previous topic - Next topic

stanl

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

td

Could be a method signature issue of some kind. A documentation search may lead to learning what is required for the method call.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade