I was wondering if anyone could guide me how to test svg charts and graphs using a protractor.
I need to read data on pie charts when hovering over it, or read data on charts when they freeze with data points.
A pie chart is very similar to the following, with the exception of text data. An example of two CHeck pie charts: http://www.fusioncharts.com/charts/pie-doughnut-charts/
I get xpath data - although this is slightly different than usual. To access svg:
element(by.xpath('//*[name() = "svg"]//the rest of the path'))
Source: https://habr.com/ru/post/1215092/More articles:Apache / PHP returns HTTP 200 status code on error pages - phpWhat is the path to Chrome cache on Ubuntu? - linuxCython: How to wrap a C ++ function that returns a C ++ object? - c ++Karma: Non-displaying ReferenceError $ undefined - javascriptUsing generator next () function as a callback in node.js - javascriptperiodically update a text field inside an NSTableCellView with a timer - timerAt the moment, the breakpoint will not be deleted, cshtml - c #Scanning pages using PostBack javascript Python Scrapy data - javascriptCSS clean grid code will not work - htmlIs it mandatory to close the scanner? - javaAll Articles