How to click on Graphs and Pie Charts in Selenium webdriver
Having coding issues, clicking on graphs in selenium. code creates a pie chart as follows,
The code is as follows, <canvas id=”canvas_pie1″ height=”346″ width=”578″ class=”chartjs-render-monitor” style=”display: block; width: 578px; height: 346px;”></canvas>
It is a canvas created by typescript in ionic framework, need to click on this graph using webdriver.
Xpath is //*[@id=”canvas_pie1″]