I want to use Python to press the left mouse button at a button of a website. My code I'm trying:
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()
How can I tell the program to press a button?