Last active
March 10, 2017 19:03
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1489172367275 geckodriver INFO Listening on 127.0.0.1:60551 | |
1489172368371 mozprofile::profile INFO Using profile path /tmp/rust_mozprofile.umgbzIjSgMQF | |
1489172368371 geckodriver::marionette INFO Starting browser /usr/bin/firefox | |
1489172368373 geckodriver::marionette INFO Connecting to Marionette on localhost:36527 | |
1489172369021 Marionette INFO Listening on port 36527 | |
[Child 13641] WARNING: pipe error (3): Connection reset by peer: file /build/firefox-FILPL9/firefox-51.0.1+build2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 323 | |
[Child 13641] ###!!! ABORT: Aborting on channel error.: file /build/firefox-FILPL9/firefox-51.0.1+build2/ipc/glue/MessageChannel.cpp, line 2056 | |
[Child 13641] ###!!! ABORT: Aborting on channel error.: file /build/firefox-FILPL9/firefox-51.0.1+build2/ipc/glue/MessageChannel.cpp, line 2056 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
driver = webdriver.Firefox() | |
try: | |
driver.get('http://www.google.com') | |
thing = driver.find_element_by_name('q') | |
print(thing.location) | |
finally: | |
driver.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment