zoukankan      html  css  js  c++  java
  • 关闭 ChromeDriver was started successfully 提示信息

    System.setProperty("webdriver.chrome.silentOutput", "true");
    Logger.getLogger("org.openqa.selenium").setLevel(Level.OFF);

    设置之后还是没有关闭 ChromeDriver was started successfully 提示信息

    源代码中 有一句 printf("%s was started successfully. ", kChromeDriverProductShortName);

    好像是标准输出没有提供关闭的地方

    I have found that the "ChromeDriver was started successfully" message comes from this line at the ChromeDriver binary:

    printf("%s was started successfully.
    ", kChromeDriverProductShortName);
    

    Maybe this printf statement that ends in the standard output, can be redirected somehow.

     
  • 相关阅读:
    KMP
    Trie 树
    Miller-Rabin质数测试
    快速幂
    Matlab 对图片的二值化处理
    huffman tree
    hdu5512-Pagodas
    迷宫
    poj2488-A Knight's Journey【DFS】
    linux操作
  • 原文地址:https://www.cnblogs.com/interdrp/p/14370639.html
Copyright © 2011-2022 走看看