Extracting a value based on whether or not an element is on the page

Follow