Behance Unappreciate button targeting

Discussions and Tech Support related to the iMacros Google Chrome extension.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Behance Unappreciate button targeting

by robzic on Tue Feb 21, 2017 1:54 pm

Hi there!

I'm having trouble targeting the Unappreciate button on project pages, see attached screen shot where is says "February 21, 2017".
Link to a project page: https://www.behance.net/gallery/49041053/(You-Want-It)-Darker-Illustrations

I've tried the TAG POS with different variables, as well as the XPATH (currently TAG XPATH="id('project-sidebar')/div/div[1]/div[4]/div/div[3]"

But with no success. Any clues?
Attachments
Screen Shot 2017-02-21 at 12.56.50.png
robzic
 
Posts: 2
Joined: Fri Nov 16, 2012 5:06 am

Re: Behance Unappreciate button targeting

by chivracq on Tue Feb 21, 2017 5:04 pm

robzic wrote:Hi there!

I'm having trouble targeting the Unappreciate button on project pages, see attached screen shot where is says "February 21, 2017".
Link to a project page: https://www.behance.net/gallery/49041053/(You-Want-It)-Darker-Illustrations

I've tried the TAG POS with different variables, as well as the XPATH (currently
Code: Select all
TAG XPATH="id('project-sidebar')/div/div[1]/div[4]/div/div[3]"


But with no success. Any clues?

Hum..., the 'iMacros for CR' Sub-Forum is meant for Threads specific to only CR, meaning that you already have a Script working in IE/iMB/FF... (No need to duplicate though...)

CIM...! :mrgreen: (Always mention your FCI when you open a Thread, read my Sig, many Commands are not implemented for all Browsers/Versions...)
+ Meaning you still didn't read the Forum Rules, even if you registered 5 years ago... :shock:

Your previous Thread is still waiting after 5 years, oops...!, for some Solution from your Side to make it a bit useful for other Users..., if you are now using 'XPATH', I guess you managed to solve it, it looks like a pretty simple Newbie Qt...

Hum, good that you provide the URL to your Site but it requires some Registration for full Functionality, especially for the 'Unappreciate' Functionality, but some part is still accessible, so I was able to have a look..., even if I miss some Info, but OK, here are my "Clues"...:

The 'DIV' containing the Date Button seems to have a Class, try using it:
Code: Select all
TAG POS=1 TYPE=DIV ATTR=CLASS:"js-appreciation-date project-appreciation-date beicons-pre beicons-pre-thumb"

If that doesn't work and the Page requires clicking on the 'LINK' for the Button inside that 'DIV', use Double Relative Positioning:
Code: Select all
TAG POS=1 TYPE=DIV ATTR=CLASS:"js-appreciation-date project-appreciation-date beicons-pre beicons-pre-thumb"
TAG POS=R1 TYPE=* ATTR=*
TAG POS=R-1 TYPE=A ATTR=*

I would think even that one would work:
Code: Select all
TAG POS=1 TYPE=DIV ATTR=CLASS:"project-block project-block--buttons"
TAG POS=R1 TYPE=* ATTR=*
TAG POS=R-1 TYPE=A ATTR=*

(Tested on iMacros for FF v8.8.2, PM v26.3.3 (=FF47), Win10-x64.)
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 5996
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)


Return to iMacros for Chrome

Who is online

Users browsing this forum: No registered users and 2 guests

-->