btw I'm on a Mac running 10.7.
And after a couple minutes of not loading any webpage, the program gives me
this error:
Traceback (most recent call last):
File "/Users/bfishbein/Documents/s_buy2.py", line 7, in <module>
driver = webdriver.Firefox()
File
"/Library/Python/2.7/site-packages/selenium/webdriver/firefox/webdriver.py",
line 58, in __init__
self.binary, timeout),
File
"/Library/Python/2.7/site-packages/selenium/webdriver/firefox/extension_connection.py",
line 47, in __init__
self.binary.launch_browser(self.profile)
File
"/Library/Python/2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
line 48, in launch_browser
self._wait_until_connectable()
File
"/Library/Python/2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
line 95, in _wait_until_connectable
self.profile.path, self._get_firefox_output()))
WebDriverException: Message: "Can't load the profile. Profile Dir:
/var/folders/vm/8th3csp91qb47xbhqhb4gcmh0000gn/T/tmpPeqacA Firefox output: ***
LOG addons.xpi: startup\n*** LOG addons.xpi: Skipping unavailable install
location app-system-share\n*** LOG addons.xpi: checkForChanges\n*** LOG
addons.xpi: No changes found\n"
I can't make any sense of this.
Ben
On Jun 3, 2013, at 8:08 PM, Benjamin Fishbein wrote:
> I'm using selenium webdriver with python 2.7. I have some programs I wrote
> with it and they've been working properly for some months.
> But today I tried to write a new program with the selenium module.
>
> from selenium import webdriver
> from selenium.webdriver.common.keys import Keys
>
> driver = webdriver.Firefox()
> driver.get("http://www.python.org") # actually I go to other sites, not
> python.org
> # now there's more but the program never gets to it
>
> The Firefox web browser opens, but it doesn't go to any page. The url doesn't
> even appear in the box at the top of the webbrowser where urls go.
> Do you know what is causing this problem? The only thing I can think of is
> that there's some problem in the settings. I shut down the computer and
> turned it back on, but the problem remains.
> Any help would be greatly appreciated.
> Thanks,
> Ben
>
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor