I have a small project that should do
Open a browser
Open Linkedin - and login to it.
From the home page, go to my “Connections”
After that, need to see “All connections”
And then, get the data of my connections that can be seen on that page.
When I click on a person, there is a page come up to show his/her page, so here on that page,
there is “See contact info” link, which pops up a small info page to show website link, email, connected info of the person and so on.
- at last, need to write those all info, (Name , Surname, Company Name, Email Address) to the excel
So, I can achieve to step 5, but at step 6 my mind has gone.
Could someone guide to me to solve step 6 please?
You can use click activity and set the selector as (specific for chrome. you can change as per your req.)
<html app='chrome.exe' title='*| LinkedIn' />
<webctrl aaname='*See contact info*' tag='SPAN' />
Then once the pop-up comes, you can read further info using
get text activity. There are distinct selectors for each
use data scrapping and get all names of your contact . and then try to pass a url using their name one by one. then you can use basic activities to click and get their details, get text to extract details,write range to write data into a excel file.
Thank you for your quick reply.
Can you explain a bit more what you mean buy “pass a url using their name one by one”?
I cannot recognize what and how to do there?
Thanks for your reply,
Just one thing I dont understand, Okay by doing that I can get one of them’s info,
so should I do this in foreach or something else to have all of connections’ info and write them into excel?
consider these two urls both are having “ACME System 1 - Log In” part in common only the number is changed.look whether there’s a unique id or the name in the url of each and every friend in your list. use a navigate activity you can pass a variable with the url like this
“ACME System 1 - Log In”+yourStringVariable
yes you’ll have to use a for each. Loop each connection one by one and extract their details
but in linkdin url is bit different so you can use the same method. try to scrap names with their url.
you can get the the values in column 2(in my case). and combine it with the url common part and pass it to navigate activity.
you can get one by one item and by using click and get text activities you can get their details
I appreciate a lot Vidwa, that helps me quite a lot!
Im gonna try asap, and will turn you back whether have a problem or not
Thank you so much Farhan,
Im going to try your solution as well, they are both great ideas
great good luck. and if it works don’t forget to mark it as solution
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.