In the webbrowser I need to extract this element:
<line stroke="#003088" stroke-width="15.562500357627869" stroke-linecap="round" marker-end="url(#arrowhead-pb)" opacity="0.4" x1="166.00000381469727" y1="431.6000099182129" x2="166.00000381469727" y2="309.17500710487366" cgHash="531.2000122070312,531.2000122070312,c2,c4,paleBlue"></line>
This element is not interactable but I still need so save the x1, x2, y1, y2 coordinates into variables. The only find option that worked for me was driver.find_element_by_tag_name('line') but this return the coordinates {'x': 611, 'y': 372} which is clearly not what I want.
My question: is there any way I can extract the exact coordinates from the webbrowser? Mainly x1, x2, y1, y2.