标签:des directory cal download int hot extension ror nal
electron加入headless包。
用electron执行headless:
e run --headless --enable-logging --v=2 --disable-gpu --screenshot http://192.168.50.206:8889
Running "/home/a/dev0/e9.2.1/src/out/ReleaseSym0/electron --headless --enable-logging --v=2 --disable-gpu --screenshot http://192.168.50.206:8889" [1028/172650.483932:INFO:cpu_info.cc(53)] Available number of cores: 4 [1028/172650.484061:VERBOSE1:zygote_main_linux.cc(217)] ZygoteMain: initializing 0 fork delegates [1028/172650.484400:INFO:cpu_info.cc(53)] Available number of cores: 4 [1028/172650.484465:VERBOSE1:zygote_main_linux.cc(217)] ZygoteMain: initializing 0 fork delegates [1028/172650.493514:VERBOSE1:webrtc_internals.cc(119)] Could not get the download directory. [1028/172650.494623:VERBOSE1:proxy_config_service_linux.cc(500)] All gsettings tests OK. Will get proxy config from gsettings. [1028/172650.494764:VERBOSE1:proxy_config_service_linux.cc(1261)] Obtained proxy settings from annotation hash code 11258689 [1028/172650.494873:VERBOSE1:proxy_config_service_linux.cc(500)] All gsettings tests OK. Will get proxy config from gsettings. [1028/172650.494919:VERBOSE1:proxy_config_service_linux.cc(1261)] Obtained proxy settings from annotation hash code 11258689 [1028/172650.504033:VERBOSE1:sandbox_linux.cc(69)] Activated seccomp-bpf sandbox for process type: renderer. [1028/172650.505596:VERBOSE2:thread_state.cc(470)] [state:0x556bd75583a0] ScheduleGCIfNeeded [1028/172650.511468:VERBOSE2:thread_state.cc(470)] [state:0x556bd75583a0] ScheduleGCIfNeeded [1028/172650.524408:VERBOSE2:thread_state.cc(470)] [state:0x556bd75583a0] ScheduleGCIfNeeded [1028/172650.524916:VERBOSE2:thread_state.cc(470)] [state:0x556bd75583a0] ScheduleGCIfNeeded [1028/172650.525173:VERBOSE2:thread_state.cc(470)] [state:0x556bd75583a0] ScheduleGCIfNeeded [1028/172650.525963:VERBOSE1:sandbox_linux.cc(69)] Activated seccomp-bpf sandbox for process type: gpu-process. [1028/172650.526373:VERBOSE2:thread_state.cc(470)] [state:0x556bd75583a0] ScheduleGCIfNeeded [1028/172650.528735:VERBOSE2:thread_state.cc(470)] [state:0x556bd75583a0] ScheduleGCIfNeeded [1028/172650.531839:VERBOSE2:thread_state.cc(470)] [state:0x556bd75583a0] ScheduleGCIfNeeded [1028/172650.535051:ERROR:paint_controller.cc(646)] PaintController::FinishCycle() completed [1028/172650.550076:VERBOSE1:configured_proxy_resolution_service.cc(873)] PAC support disabled because there is no system implementation [1028/172650.550312:VERBOSE1:configured_proxy_resolution_service.cc(873)] PAC support disabled because there is no system implementation [1028/172650.550923:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: http://192.168.50.206:8889/ [1028/172650.575829:VERBOSE1:url_loader.cc(418)] To buffer: http://192.168.50.206:8889/ [1028/172650.580122:VERBOSE1:v8_context_snapshot.cc(153)] A context is created from snapshot for main world [1028/172650.587399:VERBOSE1:v8_context_snapshot.cc(153)] A context is created from snapshot for main world [1028/172650.595294:ERROR:paint_controller.cc(646)] PaintController::FinishCycle() completed [1028/172650.612295:ERROR:paint_controller.cc(646)] PaintController::FinishCycle() completed [1028/172650.676553:INFO:headless_shell.cc(620)] Written to file screenshot.png.
用chromium执行:
chromium -disable-gpu -headless --screenshot http://192.168.50.206:8889 --enable-logging --v=2
[1028/172313.589085:INFO:cpu_info.cc(53)] Available number of cores: 4 [1028/172313.589050:INFO:cpu_info.cc(53)] Available number of cores: 4 [1028/172313.589665:VERBOSE1:zygote_main_linux.cc(218)] ZygoteMain: initializing 0 fork delegates [1028/172313.589646:VERBOSE1:zygote_main_linux.cc(218)] ZygoteMain: initializing 0 fork delegates [1028/172313.904647:VERBOSE1:webrtc_internals.cc(118)] Could not get the download directory. [1028/172314.273904:VERBOSE1:proxy_config_service_linux.cc(500)] All gsettings tests OK. Will get proxy config from gsettings. [1028/172314.282438:VERBOSE1:proxy_config_service_linux.cc(1261)] Obtained proxy settings from annotation hash code 11258689 [1028/172314.313809:VERBOSE1:proxy_config_service_linux.cc(500)] All gsettings tests OK. Will get proxy config from gsettings. [1028/172314.313966:VERBOSE1:proxy_config_service_linux.cc(1261)] Obtained proxy settings from annotation hash code 11258689 [1028/172314.375146:VERBOSE1:bus.cc(884)] Method call: message_type: MESSAGE_METHOD_CALL interface: org.freedesktop.DBus member: GetNameOwner signature: s string "org.bluez" [1028/172314.376150:VERBOSE1:bus.cc(884)] Method call: message_type: MESSAGE_METHOD_CALL interface: org.freedesktop.DBus member: GetNameOwner signature: s string "org.bluez" [1028/172314.377416:VERBOSE1:bus.cc(884)] Method call: message_type: MESSAGE_METHOD_CALL interface: org.freedesktop.DBus member: GetNameOwner signature: s string "org.chromium.Bluetooth" [1028/172314.377974:VERBOSE1:bus.cc(884)] Method call: message_type: MESSAGE_METHOD_CALL interface: org.freedesktop.DBus member: GetNameOwner signature: s string "org.chromium.Bluetooth" [1028/172314.519935:VERBOSE1:configured_proxy_resolution_service.cc(845)] PAC support disabled because there is no system implementation [1028/172314.558362:VERBOSE1:configured_proxy_resolution_service.cc(845)] PAC support disabled because there is no system implementation [1028/172314.558720:VERBOSE1:sandbox_linux.cc(68)] Activated seccomp-bpf sandbox for process type: gpu-process. [1028/172314.572644:VERBOSE1:device_data_manager_x11.cc(216)] X Input extension not available [1028/172314.677476:VERBOSE1:bus.cc(681)] Filter function already exists: 1 with associated data: 0x55bc5cc268f0 [1028/172314.677539:VERBOSE1:bus.cc(884)] Method call: message_type: MESSAGE_METHOD_CALL interface: org.freedesktop.DBus member: GetNameOwner signature: s string "org.bluez" [1028/172314.690087:VERBOSE1:bus.cc(681)] Filter function already exists: 1 with associated data: 0x55bc5cc268f0 [1028/172314.690318:VERBOSE1:bus.cc(884)] Method call: message_type: MESSAGE_METHOD_CALL interface: org.freedesktop.DBus member: GetNameOwner signature: s string "org.bluez" [1028/172314.690740:VERBOSE1:bus.cc(681)] Filter function already exists: 1 with associated data: 0x55bc5cc88a60 [1028/172314.690763:VERBOSE1:bus.cc(884)] Method call: message_type: MESSAGE_METHOD_CALL interface: org.freedesktop.DBus member: GetNameOwner signature: s string "org.chromium.Bluetooth" [1028/172314.691081:VERBOSE1:bus.cc(681)] Filter function already exists: 1 with associated data: 0x55bc5cc88a60 [1028/172314.691118:VERBOSE1:bus.cc(884)] Method call: message_type: MESSAGE_METHOD_CALL interface: org.freedesktop.DBus member: GetNameOwner signature: s string "org.chromium.Bluetooth" [1028/172314.700108:VERBOSE1:proxy_config_service_linux.cc(1368)] Detected no-op change to proxy settings. Doing nothing. [1028/172314.700179:VERBOSE1:proxy_config_service_linux.cc(1368)] Detected no-op change to proxy settings. Doing nothing. [1028/172314.701004:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: http://192.168.50.206:8889/ [1028/172314.740322:VERBOSE1:sandbox_linux.cc(68)] Activated seccomp-bpf sandbox for process type: renderer. [1028/172314.781201:VERBOSE1:url_loader.cc(402)] To buffer: http://192.168.50.206:8889/ [1028/172314.813797:VERBOSE2:thread_state.cc(429)] [state:0x5556c9cbf680] ScheduleGCIfNeeded [1028/172314.996829:VERBOSE2:thread_state.cc(429)] [state:0x5556c9cbf680] ScheduleGCIfNeeded [1028/172314.997088:VERBOSE2:thread_state.cc(429)] [state:0x5556c9cbf680] ScheduleGCIfNeeded [1028/172315.022090:VERBOSE2:thread_state.cc(429)] [state:0x5556c9cbf680] ScheduleGCIfNeeded [1028/172315.034964:VERBOSE2:thread_state.cc(429)] [state:0x5556c9cbf680] ScheduleGCIfNeeded [1028/172315.070170:VERBOSE2:thread_state.cc(429)] [state:0x5556c9cbf680] ScheduleGCIfNeeded [1028/172315.085356:VERBOSE2:thread_state.cc(429)] [state:0x5556c9cbf680] ScheduleGCIfNeeded [1028/172315.111739:VERBOSE2:thread_state.cc(429)] [state:0x5556c9cbf680] ScheduleGCIfNeeded [1028/172315.122704:ERROR:paint_controller.cc(634)] PaintController::FinishCycle() completed [1028/172315.156658:ERROR:paint_controller.cc(634)] PaintController::FinishCycle() completed [1028/172315.175984:ERROR:paint_controller.cc(634)] PaintController::FinishCycle() completed [1028/172315.236399:INFO:headless_shell.cc(616)] Written to file screenshot.png.
标签:des directory cal download int hot extension ror nal
原文地址:https://www.cnblogs.com/bigben0123/p/13892322.html