☰
Login
Signup
Home
›
General
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.7K
All Categories
0
Incidents
144
Node JS client
38
Go client
786
.Net API client
375
Kite Publisher
537
.Net / VBA / Excel (3rd party)
452
Algorithms and Strategies
986
Java client
1.1K
API clients
402
PHP client
3.9K
Python client
343
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.3K
General
In this Discussion
May 6
rakeshr
Selenium webdriver error
sanjaya
May 5
in
General
I am trying to execute below code. getting error ...... *** AttributeError: 'NoneType' object has no attribute 'to_capabilities'
FYI having below versions of chrome browser and chrome driver
Chrome Version - 124.0.6367.119 (Official Build) (64-bit)
ChromeDriver version - 124.0.6367.91
=================
from kiteconnect import KiteConnect
from selenium import webdriver
token_path = "api_key.txt"
key_secret = open(token_path,'r').read().split()
kite = KiteConnect(api_key = key_secret[0])
service = webdriver.chrome.service.Service('./chromedriver')
service.start()
options = webdriver.ChromeOptions()
options = options.to_capabilities()
driver = webdriver.Remote(service.service_url,options)
driver.get(kite.login_url())
Tagged:
Selenium Webdriver
rakeshr
May 6
It's not related to kiteconnect APIs. Go through the
login FAQs here
.
This discussion has been closed.