Open GoogleCodeExporter opened 9 years ago
This also happens on OSX
Original comment by therestr...@gmail.com
on 15 Jun 2010 at 10:14
Well, you could try copying a Safari or FF-module and edit it.
Original comment by home%xan...@gtempaccount.com
on 19 Jun 2010 at 11:56
Here's my chrome.py, put it into the shotfactory04/gui/linux/ folder.
Make sure chrome is in your PATH before you start shotfactory.
Another thing I found helpful was to change the gui/linux/__init__.py file
where it says F10, change to F11. That's if F11 is your maximize key, it
usually is.
Original comment by nik...@gmail.com
on 12 Jan 2011 at 5:53
Attachments:
[deleted comment]
This is the one I use (see attached chrome.py) -
Another important thing to consider on Linux is that the command is
chromium-browser. I modify the __init__.py to allow for lynx browser and
chromium on linux. You just have to modify the start_browser function:
def start_browser(self, config, url, options):
"""
Start browser and load website.
"""
command = config['command'] or config['browser'].lower()
if command == "lynx":
command = 'xterm -maximized -e %s "%s" &' % (command, url)
elif command == "chrome":
command = 'chromium-browser --incognito --no-first-run --start-maximized "%s" &' % (url)
else:
command = '%s "%s" &' % (command, url)
print "Running", command
error = self.shell(command)
if error:
raise RuntimeError("could not start the browser")
print "Sleeping %d seconds while page is loading." % options.wait
time.sleep(options.wait - 10)
self.maximize()
time.sleep(10)
Original comment by jami...@gmail.com
on 14 Mar 2011 at 5:32
Attachments:
Original issue reported on code.google.com by
dhahler@gmail.com
on 2 Feb 2010 at 9:48