【发布时间】:2021-02-23 07:38:54
【问题描述】:
希望你没事。 我正在尝试为我制作一个打开 chrome 的脚本,然后点击:
import os
import subprocess
import pyautogui
cmd = 'google-chrome'
if (subprocess.call(cmd)):
pyautogui.click(618, 671)
#use it to know your screen position you may need to install scrot
# pyautogui.displayMousePosition()
但是当我运行脚本时出现错误,错误说: [6869:6869:1111/121828.562003:ERROR:sandbox_linux.cc(374)] InitializeSandbox() 在进程 gpu-process 中使用多个线程调用。 [6815:6848:1111/121828.628223:ERROR:media_history_store.cc(363)] 未能创建或更新媒体历史存储。 关于如何解决它的任何想法。
【问题讨论】:
标签: python python-3.x python-2.7 automation python-requests