TradingView-Machine-Learning-GUI: Element can't be scrolled into view
So… Guys, I was trying to run the project and got some errors. The first one was that when searching for strategy_tester, there was no such element, I suppos,e since i got the following error:
strategy_tester = driver.find_elements_by_xpath("//*[@class='title-1C5azoXt']")[2]
IndexError: list index out of range
Then I looked for the element name in the inspection window at firefox and found the right name (I guess):
It looks like now it started recognizing the element, but now i got this new error and I have no idea why. Can you guys help me?
selenium.common.exceptions.ElementNotInteractableException: Message: Element <div class="title-37voAVwR"> could not be scrolled into view
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (1 by maintainers)
hello everyone, it looks like the elements on Tradingview had changed. I updated the elements and added some extra fixes to script. If you guys are still having problems please download the new repository.
Ahh yes. I had that same issue as well. Here is the fix for that. Go to Firefox address bad and type the following
about:preferences#privacy<enter> The button next to History, select Use Custom Settings.
Turn off Always Use Private Browsing Mode Turn on Remember My Browsing And Download History At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.
This will keep you logged into tradingview
Same here… incorrect xpath It’s possible the class=“title-xxx” is unique to the stock being tested
I wouldn’t know how to fix this but sure TreborNamor could
I’m having exactly the same issue as above, if the repo can be updated that’d be amazing!