How to suppress pop-up in webscraping?

Hi all,

I would like to build a workflow of webscraping in Chrome. However, some unexpected pop-ups may disrupt my workflow in the webscraping process. Is there any way to suppress pop ups in Chrome while I am running the workflow? Thanks!

@Tim_Li

Scrap the pop-ups and use Element Exists activity

Place IF condition and define your logic

Hope this helps you

Thanks

I am a newbie to Uipath, would you mind posting a sample workflow please? As I can’t predict when and what advertisement pop-ups would appear in the process of web scraping, how should the element exist activity be used? Thanks

@Tim_Li

Check as below

  1. Place a Element Exists Activity
  2. Click indicate on Screen and select the popup
  3. Create a output element for Element Exists Activity
  4. Place a IF activity
  5. In then if popup appear what action has to do
  6. In Else part what action you have to do place the logic

Hope this clears your doubts

Thanks

Thanks @ksrinu070184, but if I can’t predict when and what advertisement pop-ups would appear in the process of web scraping, can the element exist still be used?

@Tim_Li

Yes, you have to the place possible pop-ups and when ever that appears then based upon your logic it will take action

Hope this helps you

Thanks

maybe a bit hard to predict all possible ads in my case lol. Anyway, thanks for your advice :slight_smile: