c# - Turn INFO off in PhantomJS Selenium Webdriver -


I am using Selenium Fanmom's Sedriver to scrap a page in my C # application. I use a lot of consoles, so I would like to stop the enfo messages, which it constantly outputs. Does anyone have the same problem?

I think this string should be added to VSP answer:

 < Code> service.HideCommandPromptWindow = true;   

then

  Fixed IWebDriver CreateInfolessPhantom (string logfile path) {PhantomJSDriverService service = PhantomJSDriverService.CreateDefaultService (); Service.LogFile = logFilePath; Service.HideCommandPromptWindow = true; New FanatjsSee Dry Driver (Service); }    

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

Delphi: missing interface declarations for UI Automation methods -

android - How to attach an image from an app to gmail -