Skip to main content
/

Site Navigation

Your Account

Choose Language

Help

Current version by: Christoph ,

Title:

Trigger Bartendro from Pythonscript

Text:

Hello,
 
I want to build a hardware control for my bartendro.

I am trying to realize this
bartendro with Pythonpython.
I want to build a hardware control for my bartendro.

I am trying to realize this
bartendro with Pythonpython.
 
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?
 
[quote]fromquote]
from
pyvirtualdisplay import Display
[quote]fromquote]
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/19/go')
 
browser.close()[/quotebrowser.close()

[/quote
]
browser.close()[/quotebrowser.close()

[/quote
]

Category:

Bartendro Custom Script

Status:

open

Original post by: Christoph ,

Title:

Trigger Bartendro from Pythonscript

Text:

Hello,

I want to build a hardware control for my bartendro.

I am trying to realize this 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?

[quote]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/19/go')

browser.close()[/quote]

Category:

Bartendro Custom Script

Status:

open