Skip to content

Commit

Permalink
Fix for Tradingview having renamed Upper/Lower Bound to use lowercase…
Browse files Browse the repository at this point in the history
… bound
  • Loading branch information
mlake committed Oct 23, 2024
1 parent 98348a4 commit 9cf605b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dist/service/tv-page-actions.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/service/tv-page-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ const dropdownXpathQueries = {
// Or get when there's an upper and lower bound
// "//legend[text()='Upper Bound']/../..//span[@data-name='start-band-select']"

tertiaryLeft: "//*[contains(@class, 'operatorRow-')]/..//span[@data-name='start-band-select'] | //legend[text()='Upper Bound']/../..//span[@data-name='start-band-select']",
tertiaryRight: "//*[contains(@class, 'operatorRow-')]/..//span[@data-name='end-band-select'] | //legend[text()='Upper Bound']/../..//span[@data-name='end-band-select']",
tertiaryLeft: "//*[contains(@class, 'operatorRow-')]/..//span[@data-name='start-band-select'] | //legend[text()='Upper bound']/../..//span[@data-name='start-band-select']",
tertiaryRight: "//*[contains(@class, 'operatorRow-')]/..//span[@data-name='end-band-select'] | //legend[text()='Upper bound']/../..//span[@data-name='end-band-select']",

quaternaryLeft: "//legend[text()='Lower Bound']/../..//span[@data-name='start-band-select']",
quaternaryRight: "//legend[text()='Lower Bound']/../..//span[@data-name='end-band-select']",
quaternaryLeft: "//legend[text()='Lower bound']/../..//span[@data-name='start-band-select']",
quaternaryRight: "//legend[text()='Lower bound']/../..//span[@data-name='end-band-select']",
}


Expand Down

0 comments on commit 9cf605b

Please sign in to comment.