☰
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
14K
All Categories
0
Incidents
157
Node JS client
40
Go client
794
.Net API client
383
Kite Publisher
537
.Net / VBA / Excel (3rd party)
462
Algorithms and Strategies
1K
Java client
1.1K
API clients
406
PHP client
4K
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.