Is there anyway to use PhantomJS with splinter/selenium on PythonAnywhere?
Also, when trying to use Firefox, example:
import splinter
browser = splinter.Browser("firefox")
browser.visit("http://google.com")
print browser.html
I get the error message:
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/firefox_binary.py", line 90, in _wait_until_connectable
self._get_firefox_output())
selenium.common.exceptions.WebDriverException: Message: "The browser appears to have exited before we could connect. The output was: \n(process:20484): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed\nError:
no display specified\n"
Does this mean I can't use splinter/selenium at all?