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

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -