☰
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.6K
All Categories
0
Incidents
172
Node JS client
48
Go client
822
.Net API client
394
Kite Publisher
549
.Net / VBA / Excel (3rd party)
480
Algorithms and Strategies
1K
Java client
1.2K
API clients
408
PHP client
4.2K
Python client
357
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.5K
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.