We are evaluating EW.Webbrowser for some headless web automation. We are using version 19.0.97 and frequently see that some obfuscated EO.Webbrowser code is causing the crash. We tried upgrading to version 19.1.25 however we see that one crashes as soon as a page is loaded and we haven't spent any more effort on it.
We are running 3 engines concurrently in the same data dir but with different profiles, i.e.
Code: C#
engine.Options.ExtraCommandLineArgs = "--user-data-dir=c:\myfolder --profile-directory=profile1"
These have also been tested from the command line using
this version of chrome.
We are running .NET Framework 4.6.2 in 64 bit.
This is the error that appears in the Windows Application event log:
Code: C#
Application: MyService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception
at . ()
at . ( )
at . ()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()