Since the last thread ended with dad's proud of their daughters - a refresher
- issue brought up for Selenium and Edge Automation
- Issue solved by adding _if to .wbt extension
- Previous code regarding using CLR for Selenium raised https://forum.winbatch.com/index.php?topic=2698.0
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.
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
Could be a method signature issue of some kind. A documentation search may lead to learning what is required for the method call.