Looking at tradingview web based charts https://www.tradingview.com/, I am trying to locate the element for the “E” button (at the bottom of the chart) that when clicked shows various earnings data (EPS/Revenue reported, estimate, surprise, etc). I am having trouble locating the element using the inspect approach. Once clicked I can find the elements for the earnings data, but there doesn’t seem to be an element to initially click the button.
The closest element I can find is the following.
My questions are the following:
-
Is the reason I can’t find the earnings button as an element because it is drawn directly on the canvas element using Javascript?
-
If the button is drawn directly on the canvas and I want to interact with this button is the only way to interact with it by workingout the coordinates of the location of the button using Javascript and use the coordinates to imitate a click on the button?
Appreciate the help.
I tried the inspect method and search through all the available elements
I researched what it could be and used AI to assist
user24901545 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.