Hello everyone,
I want to get someones’ or companies’ post from Linkedin by taking screenshot. I tried many ways:
I got screenshot of a post by taking screenshot of specific area. But I got specific area of "one"post. I want to take other posts also. How can i make it permanent ?
My question is:
how to take screenshots of linkedin posts continually ?
Interesting. One thing you can try is to go to their posts by navigating to the person profile and then to activity and then click on posts. Now there you have an option to copy post link, spy that element and get the link
Now get the link using attributes and use that link to open the post then take a screnshot
Repeat by identifying a selector for copy link which can be used in combination with idx so that idx can be incremented and each post url can be taken
That’s what the Get Position activity does. It gets the position of the UI Element you designate. So you need to get the position of the current post before taking the screenshot.
NOTE: There are a lot of extra variables in that xaml file, sorry about that. It’s a scratchpad file I use to try things out. The only variables I had to create for the above process are CurrentElementText and CurrentElementRectangle.
I just realized that the Take Screenshot activity accepts an input element. So you can just directly give it CurrentElement without worrying about finding the rectangle numbers and passing them.
The only thing I did was drop the Take Screenshot activity into For Each UI Element and pass it CurrentElement. It automatically uses the CurrentElement properties to take a screenshot of the correct screen area.
No, you’re confusing For Each UI Element with Find Children. For Each UI Element allows you to designate an item on the screen and it’ll find (and loop through) all the similar elements. In my example the element I clicked was the first post title and it automatically found all post titles.