SimpleBrowserDotNet / SimpleBrowser.WebDriver

A webdriver for SimpleBrowser
Apache License 2.0
43 stars 16 forks source link

ImplicitlyWait() throws NullReferenceException. #34

Open Zeioth opened 8 years ago

Zeioth commented 8 years ago

Hi, I have this small problem. When I tell the browser to wait for HTML before to continue, I recieve a NullReferenceException. I tried this block with FirefoxDriver and worked fine.

simpleDriver.Manage ().Timeouts ().ImplicitlyWait (TimeSpan.FromSeconds (10));
Teun commented 7 years ago

Actually, I think many of this Wait-functionality is dependent on javascript support in the browser. SimpleBrowser lacks that and will most probably not get it. Now a NullReferenceException is a terrible way to fail. I will leave this issue open and try to do a more graceful failure (with a helpful message).