Python Forum
Selenium driver.get() does not work
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selenium driver.get() does not work
#1
It seems very simple but I am new to python and I'm stumped as to why this won't work.
from selenium import webdriver

class my_class(object):
    chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe'
    driver = webdriver.Chrome(chrome_path)
    driver.get('https://google.com')
I am following: https://selenium-python.readthedocs.io/g...arted.html

yet the first thing I try does not work.

All it does is open a new window with chrome. It does not load google.

Any help appreciated :)
Reply


Messages In This Thread
Selenium driver.get() does not work - by RvBVakama - Dec-14-2018, 04:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python-selenium script for automated web-login does not work hectorKJ 2 4,071 Sep-10-2019, 01:29 PM
Last Post: buran
  Selenium Web Driver Exe not running in other PC's Utkarsh29 2 4,485 Feb-28-2019, 05:48 PM
Last Post: snippsat
  Proxy Variable in Selenium wont work with FireFox Profile Proxy Setting. MIPython 0 8,522 Jul-13-2018, 05:43 PM
Last Post: MIPython
  Error in Selenium: CRITICAL:root:Selenium module is not installed...Exiting program. AcszE 1 3,632 Nov-03-2017, 08:41 PM
Last Post: metulburr
  Selenium chrome driver not returning solution Prince_Bhatia 0 3,563 Jul-06-2017, 06:40 AM
Last Post: Prince_Bhatia

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020