☰
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
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
797
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
May 2024
rakeshr
Selenium webdriver error
sanjaya
May 2024
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 2024
It's not related to kiteconnect APIs. Go through the
login FAQs here
.
This discussion has been closed.