Hello, i would like to know if it is possible to visit a company website, download the audit report (mostly pdf) and extract information even if the information is in image/scanned
Yah thats possible either
-like to download the from a website use OPEN BROWSER activity and mention the url
âinside the scope use CLICK activity and TYPE INTO activity to save the file to a folder we want
âonce after saving the file we can either use READ PDF or READ PDF with OCR (if its a image or scanned pdf) and get the output with variable of type string
âthen we can use string manipulation method to get the text we want
Cheers @Gnaneshwari_Pinna
Let me try this out. Thanks a lot @Palaniyappan
Hey, i never faced issues using IE. I am now trying to use Chrome and got the below error:
Source: Open Browser
Message: Cannot communicate with the browser, please check the Uipath extension @Palaniyappan
Fine
Did we install the chrome extension buddy
Cheers @Gnaneshwari_Pinna
Oh, i thought by default it will support. I will install it now. Thanks @Palaniyappan
Awesome
Here you go with the document
Cheers @Gnaneshwari_Pinna
Most of the websites perform/render better on chrome. Hence, i do not want to go for IE. I used IE for my firmâs internal websites. Now am accessing external websites
@Palaniyappan yesterday, it showed that chrome has already been installed. In the browser, i had to just click on some button âadd extensionâ or something. It is still not working. Let me check out the documentation you have shared and get back to you. Thanks!
Kindly have a view on this documenr for troubleshooting
Cheers @Gnaneshwari_Pinna
@Palaniyappan, how do we handle this cookies message? It does not always come. Suppose, we have added an activity for that, will it ignore and move forward when there is no cookies related prompt? Currently i am receiving that prompt
yah of course we can do that with a ELEMENT EXISTS activity
like choose that popup as a element and if that appears it will give us a boolean variable named bool_Exists
now use a IF condition like this bool_Exists = True
if true it will go to THEN part where we can use CLICK activity to click on it and proceed with further process or
goes to ELSE part where we can just keep the process to proceed with
kindly try this and let know for any queries or clarification
Cheers @Gnaneshwari_Pinna
@Palaniyappan . Activity that i have added so far is that UiPath visits this page (https://home.barclays/) , checks if there is a cookies related message (if yes, will accept the message), double clicks âInvestor Relationsâ to navigate to Annual Reports link. For this, i have added these steps : Open Browser > Do > Element Exists > If (condition = boolExists) > Then (click accept button) , Else double click Investor relations. Looks like it is not happening. I am pasting the code in a separate reply
Private = False
Activities
1.2 Sequence (Sequence)
Private = False
Activities
1.8 Open Browser (OpenBrowser)
Url = https://home.barclays/
BrowserType = Chrome
Private = False
Body
1.9 Do (Sequence)
Private = False
Variables
boolExists(Boolean)
Activities
1.47 Delay (Delay)
Duration = 00:00:04
Private = False
1.45 Element Exists âBUTTON cookieWarningBuâŚâ (UiElementExists)
Target
Selector =
Timeout (milliseconds) = 3000
WaitForReady = COMPLETE
ResultType = System.Boolean
Private = False
1.37 If (If)
Condition = boolExists = True
Private = False
Then
1.40 Click âBUTTON cookieWarningBuâŚâ (Click)
KeyModifiers = None
CursorPosition
Position = Center
ClickType = CLICK_SINGLE
MouseButton = BTN_LEFT
Target
Selector =
Timeout (milliseconds) = 3000
Private = False
Else
1.30 Double Click (Click)
KeyModifiers = None
CursorPosition
Position = Center
ClickType = CLICK_DOUBLE
MouseButton = BTN_LEFT
DelayBefore = 3000
Target
Selector =
WaitForReady = COMPLETE
Private = False
Yah looks fine
But may I know where we are facing issue
I mean like at which activity
@Gnaneshwari_Pinna
It does not double click the investor relations and moreover how to go ahead, where exactly should i add further activities
Is the code helping you or you want to see the picture?
Is CLICKTYPE chosen as Double in the Click activity property panel
Cheers @Gnaneshwari_Pinna
@Palaniyappan yes, it is a double click activity