hi
I am wanting to scrape to see if some text is there if not continue on with the code. The problem if the text is there it comes up with error and stops the code running.
How can I check if the text is there with out the scraper failing?
hi
I am wanting to scrape to see if some text is there if not continue on with the code. The problem if the text is there it comes up with error and stops the code running.
How can I check if the text is there with out the scraper failing?
Just save the scraped value to a variable, and then use if command to judge it. If there is value for it, if not and then continue on with the code.
You'd better watch the video and document first before you go to create your own bot.
ok which youtube clip are you talking about?
I know how to use the scrape command the issue is sometimes the site has a pop up so i want to take a different acition if the pop up is there but if i run the scrape and the pop up isnt there i get an error, because what I'm trying to scrape isnt there/
got it, you are smart :)
and I think you can also use a tryCatch action when scrape using string variable. if there is no data, the it will go into the catch part.