I’m working on Lesson 4 Practice 2 in the RPA Developer Level 1 Academy course and I’ve completed the assignment so the web scrapping works when I type “new york” for the city value to get the temperature, but if I type any other city in any other city the web scrapping doesn’t work .
I’d refer to the assignment solution but that solution only opens my browser and doesn’t seem to do anything after that.
Could you please share your workflow so that I can look into what possibly you could have missed?
I’m sure this is a selector problem!
P.s try to use * in attach browser’s selector!
I’m now able to get the correct information after changing the city input value, but now it gives me more than just the the temperature, as shown below. Is there a way to specify just the current temperature?
Update:
After playing with the selectors a little more with help from @Niket_Ghai and @indra I was able to figure it out.
I had to change the “Browser” selector to: <html title='weather in * - Bing' />
And the “get visible” selector to: <html title='weather in * - Bing' /> <webctrl aaname='*' parentid='b_results' tag='DIV' class='wtr_currTemp b_focusTextLarge' isleaf='1' parentclass='wtr_condiTemp' />
(I probably didn’t have to specify all those selector requirements, but it worked consistently after making the changes)