我想用Python在网站按钮上按下鼠标左键。我的代码我正在尝试:
from TKinter import *
import webbrowser
def blackdesertonline():
webbrowser.open("http://black.game.daum.net/black/index.daum",
new=1,
autoraise=True)
main = Tk()
bblackdesertonline = Button(main,
text = "Start Black Desert Online",
command = blackdesertonline)
bblackdesertonline.pack()
main.mainloop()
如何告诉程序按下按钮?