Is it possible to run Google Chrome in headless mode with extensions?

后端 未结 5 985
甜味超标
甜味超标 2020-11-28 06:45

I cannot use my currently installed extensions in Google Chrome using headless mode. Is there any way to enable them?

An easy way to check if the extensions work is

5条回答
  •  无人及你
    2020-11-28 07:21

    No, it's not possible, and Chrome developers decided against implementing it in any near future due to complexity of the task.

    If you look at that issue you may get the idea that they are still considering it due to ChromeDriver requirements - but instead they decided to make ChromeDriver work without extensions (through DevTools).

提交回复
热议问题