Please provide a Debian package

Bug #1262228 reported by Martin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
selenium-simple-test
New
Undecided
Unassigned

Bug Description

Currently I'm using SST via virtualenv and pip, which is tedious. A proper Debian package would be very helpful.

Unfortunately, the state of the "python-selenium" package, which SST would depend on, in both Debian and Ubuntu seems to be not so good.

Revision history for this message
Patrick Hetu (patrick-hetu) wrote :

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'

#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:
  https://sites.google.com/a/chromium.org/chromedriver/downloads

Revision history for this message
Patrick Hetu (patrick-hetu) wrote :

err I'm on utopic not trusty

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.