Question
You need to capture the Date Completed value from the website using a desktop flow.
Which method should you use?
- A. Use optical character recognition (OCR) on the screen to locate and extract the value.
- B. Display an input dialog and prompt the user to enter the value.
- C. Extract the value from the window the browser is using.
- D. Retrieve the value from the HTML element in the webpage. Correct
Explanation
Power Automate desktop browser automation actions (for example, Get details of element on web page or Extract data from web page) read the value straight from the HTML element of the page through its UI element selector. This is the most reliable option: OCR depends on screen resolution and rendering, extracting from the browser window treats the page as a desktop UI and is less precise, and prompting the user is not automation.