Unable to find Xpath target for secondary
See original GitHub issueAny way to resolve this?
» Searching potential dropdown xpath of secondary 16:36:02
» ...selector: //*[@class='tv-control-fieldset__value tv-alert-dialog__fieldset-value js-condition-operator-input-wrap']/*[@class='tv-control-select__wrap tv-dropdown-behavior tv-control-select--size_small' and 1]/span[@class='tv-control-select__control tv-dropdown-behavior__button' and 1]
ERROR Unable to find Xpath target for primaryLeft/secondary which doesn't have inputs, so won't even try 16:36:05
at performActualEntry (/Q:/Trading/node/sandbox/tradingview-alerts-home/node_modules/@alleyway/add-tradingview-alerts-tool/src/service/tv-page-actions.ts:213:32)
at configureSingleAlertSettings (/Q:/Trading/node/sandbox/tradingview-alerts-home/node_modules/@alleyway/add-tradingview-alerts-tool/src/service/tv-page-actions.ts:231:13)
at addAlert (/Q:/Trading/node/sandbox/tradingview-alerts-home/node_modules/@alleyway/add-tradingview-alerts-tool/src/service/tv-page-actions.ts:331:5)
at addAlertsMain (/Q:/Trading/node/sandbox/tradingview-alerts-home/node_modules/@alleyway/add-tradingview-alerts-tool/src/add-alerts.ts:219:9)
at Command.<anonymous> (/Q:/Trading/node/sandbox/tradingview-alerts-home/node_modules/@alleyway/add-tradingview-alerts-tool/src/cli.ts:67:13)
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
unable to find xpath when executed - selenium - Stack Overflow
I don't know what lead you to that XPath but it doesn't seems right based on the source code. Replace WebElement From =...
Read more >Xpath in Selenium with All Tactics and Examples
XPath in Selenium tactics will help you how to write dynamic XPath in Selenium projects. You can find all examples in this article!...
Read more >Selenium Java WebDriver Can not Find Element with xpath
I'm not sure why your first xpath fails, it looks okay to me, but your second one fails because you're looking for an...
Read more >Locators in Selenium: A Detailed Guide - BrowserStack
Learn about different Locators in Selenium - ID, XPath, Name, DOM, Link, Tag & more that enables testers to act on an HTML...
Read more >6 Ways to Use XPath in Selenium WebDriver - Perfecto
XPath is a syntax for finding elements on web pages, and XPath in Selenium can be used on both HTML and XML documents....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay - I’ve figured out that you’re making your own custom indicator…I’ve never done that myself so never tried with the tool before…
I believe I’ve nailed the right xpath expression…can you give the following beta release a try?
thanks 😉 glad it’s working for you
I’ll close this for now and make a new release…