Trigger Bartendro from Pythonscript

Hello,

I want to build a hardware control for my bartendro with python.

Currently I work with selenium and the pythonvirtual display, because simply calling the recipe page is not enough.

My problem is that loading the pyvirtualdisplay takes too long.

Does anyone have an idea how I can make the call faster?

from pyvirtualdisplay import Display

from selenium import webdriver

display = Display(visible=0, size=(50, 50))

display.start()

browser = webdriver.Firefox()

browser.get('http://bartendro.partyrobotics.com/drink...)

browser.close()

Answer this question I have this problem too

Is this a good question?

Score 0
Add a comment