Currently utilizing Selenium Webdriver 2.0 to test an HTML page that incorporates an x.js file. Within x.js, the variable "price" is defined based on data entered from the HTML form and various Javascript calculations. In the HTML, the correct price value is displayed using:
<td>$ <span id="price"></span></td>
Is there a way to capture the price value from the Javascript?