I'd like to know if there is any solution to get the value for the var d in:
<script language="javascript" type="text/javascript">
var a;
var b;
var d = 'i'd like to take var d'
graphFunctions.push(graphFuncgraphDD5);
</script>
I'm using python and I can locate the element using:
driver.find_element_by_xpath('//*[@id="mainContent"]/div[2]/div[1]/div[1]/script')
But I don´t even know how to get the value of var d.