Created
July 30, 2017 22:52
-
-
Save sergiolucero/eb5e253d8a8bdec6a1972192c1e8eb96 to your computer and use it in GitHub Desktop.
python calls my shiny Rplotter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# starting point is https://github.com/smouksassi/ggplotwithyourdata | |
from pyvirtualdisplay import Display | |
from selenium import webdriver | |
RPLOTTER_URL = 'http://50.116.4.6:3838/' | |
with Display(): | |
browser = webdriver.Firefox() | |
try: | |
browser.get('http://www.google.com') | |
print browser.title #this should print "Google" | |
finally: | |
browser.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment