python


Chrome Not Starting When Using ChromeDriver


I'm trying to use Selenium and ChromeDriver to write a scraping job. When I run the following code though nothing happens, in the sense that Chrome doesn't appear to start, but I don't get an error.
import time
from selenium import webdriver
driver = webdriver.Chrome()
driver.get(r"http://www.python.org")
time.sleep(10)
driver.quit()
Is there something else that I need to do to make Chrome start?
You need to download chromedriver from here and put it in your path. I also see that you have a typo in driver.get, make sure you have a correct URL as well
Below is the typo I was talking about
driver.get(r"http://www.python.org")

Related Links

Can't bind with port 21 on Python
How to calculate difference on previous within set of grouped rows in a dataframe
Form validation fails due missing CSRF
Django filter against ForeignKey and by result of manytomany sub query
How to check if a date time is before midday
Merge rows based on values and key string in awk, sed or python
i find the files at the end empty ,python
How do I prevent my FOR loop from ending too early?
PyInstaller 2.1 import custom package
Python: Read File and append a lot of list of 28 lines
Numba Matrix Vector multiplication
How to improve very inefficient numpy code for calculating correlation
Flask-strange routing issue
Upgrade path for re-usable apps with South AND django 1.7 migrations
Making scikit-learn train on all training data after cross-validation
matplotlib does not display latex fonts correctly

Categories

HOME
sharepoint
batch-processing
sass
checkbox
sed
jsviews
decorator
label
ubuntu-12.04
rocketmq
recyclerview
azureservicebus
dropbear
diagram
android-source
jacoco
riak
ssms-2016
dendrogram
zope
flat-file
styles
shippo
marathon
os161
piwik
bcrypt
badge
shopping-cart
opencart2.3
rhandsontable
cep
frp
xilinx-ise
weinre
forum
pitest
ivy
percentage
helix-3d-toolkit
exponential
pyscripter
swiftcharts
service-locator
openpgp
meta-raspberrypi
freetts
silverlight-3.0
restful-url
intellij-idea-2016
nsexception
mediawiki-extensions
amd
appstore-approval
amazon-machine-learning
web-deployment-project
sapui
xmgrace
bnd
ruby-on-rails-2
etherpad
fedora20
nuget-server
gce
visual-studio-templates
adler32
redux-router
payu
radians
flexjson
bluesnap
throughput
built-in
pl-i
microblaze
scala-2.11
eclipse-classpath
boost-test
lumx
xenocode
healthvault
.net-cf-3.5
execvp
jqmobi
multiple-login
localtime
lame
cosm
z-machine
visual-web-gui
ets
.app
chatroom
hibernate3-maven-plugin
file-encodings
scala-2.8
pci-bus
graph-layout

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App