BashDas
V2EX  ›  问与答

Python selenium 求助

  •  
  •   BashDas · Dec 4, 2020 · 1462 views
    This topic created in 1985 days ago, the information mentioned may be changed or developed.

    求教各位大佬:

    我写了一个用 msedgedriver.exe 来操作网页的过程,但是启动的时候会有命令窗口,有什么方法可以 msedgedriver.exe 隐藏在后台执行呢?

    谢谢

    3 replies    2020-12-04 19:32:31 +08:00
    rateltalk
        1
    rateltalk  
       Dec 4, 2020 via iPhone
    注册个服务?
    BashDas
        2
    BashDas  
    OP
       Dec 4, 2020
    @s609926202 主要是启动这个 exe 是 selenium 的动作,我没法去控制啊。好像它还有参数传递进去,所以我不能单独启动。
    BashDas
        3
    BashDas  
    OP
       Dec 4, 2020
    感谢 V 友,用 VBS 隐藏启动成功了。谢谢。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5700 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 06:04 · PVG 14:04 · LAX 23:04 · JFK 02:04
    ♥ Do have faith in what you're doing.