This would be indeed very usefull. I got it to work with trusty's python-selenium package with the following modifications:
#1 Catch engine check in a try loop and ignore them if there are not installed.
u-ph:~/repos/python/selenium-simple-test/examples$ sst-remote -b Chrome -u http://localhost:9515 -n test
Traceback (most recent call last):
File "/usr/local/bin/sst-remote", line 9, in <module>
load_entry_point('sst==0.2.4', 'console_scripts', 'sst-remote')()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 339, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 2470, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 2184, in load
['__name__'])
File "/usr/local/lib/python2.7/dist-packages/sst/scripts/remote.py", line 29, in <module>
from sst import (
File "/usr/local/lib/python2.7/dist-packages/sst/browsers.py", line 95, in <module>
class PhantomJSFactory(BrowserFactory):
File "/usr/local/lib/python2.7/dist-packages/sst/browsers.py", line 97, in PhantomJSFactory
webdriver_class = webdriver.PhantomJS
AttributeError: 'module' object has no attribute 'PhantomJS'
This would be indeed very usefull. I got it to work with trusty's python-selenium package with the following modifications:
#1 Catch engine check in a try loop and ignore them if there are not installed.
u-ph:~/ repos/python/ selenium- simple- test/examples$ sst-remote -b Chrome -u http:// localhost: 9515 -n test bin/sst- remote" , line 9, in <module> entry_point( 'sst==0. 2.4', 'console_scripts', 'sst-remote')() lib/python2. 7/dist- packages/ pkg_resources. py", line 339, in load_entry_point n(dist) .load_entry_ point(group, name) lib/python2. 7/dist- packages/ pkg_resources. py", line 2470, in load_entry_point lib/python2. 7/dist- packages/ pkg_resources. py", line 2184, in load lib/python2. 7/dist- packages/ sst/scripts/ remote. py", line 29, in <module> lib/python2. 7/dist- packages/ sst/browsers. py", line 95, in <module> y(BrowserFactor y): lib/python2. 7/dist- packages/ sst/browsers. py", line 97, in PhantomJSFactory
Traceback (most recent call last):
File "/usr/local/
load_
File "/usr/local/
return get_distributio
File "/usr/local/
return ep.load()
File "/usr/local/
['__name__'])
File "/usr/local/
from sst import (
File "/usr/local/
class PhantomJSFactor
File "/usr/local/
webdriver_class = webdriver.PhantomJS
AttributeError: 'module' object has no attribute 'PhantomJS'
#2: fix https:/ /bugs.launchpad .net/selenium- simple- test/+bug/ 1394741
#3: fix https:/ /bugs.launchpad .net/selenium- simple- test/+bug/ 1289990
#4: Also the chromium- chromedriver is broken so maybe add instruction on how to download and run google's version: /sites. google. com/a/chromium. org/chromedrive r/downloads
https:/