Skip to content Skip to sidebar Skip to footer

Imacros Error Can t Find Button Try Again

  • Hi Guest, our system has detected that an AdBlocker is installed in your browser which may cake essential functions in BlackHatWorld. Please consider disabling the AdBlocker for all pages on BHW so you can use the cadre functionality of BHW.
    You may non be aware, merely whatever company supports our site by just viewing ads. All ad's are direct related to Internet Marketing.
  • Dwelling house
  • Forums
  • Social Media
  • Tumblr
You are using an out of date browser. It may non display this or other websites correctly.
Y'all should upgrade or use an alternative browser.

Imacros unable to click

  • Thread starter Deleted fellow member 983460
  • Start date
  • #1

Deleted member 983460

Guest
On tumblr in chrome version 51, if Imacros opens up the white silhouette dropdown menu in the height right, and then selects the yourblognamehere button, nada happens. Yet, if I manually open the dropdown card for Imacros, it can click the button only fine. Here's the lawmaking imacros generated based on what I clicked in record fashion:

VERSION BUILD=844 RECORDER=CR
TAG SELECTOR="HTML>BODY>DIV:nth-of-blazon(3)>DIV>DIV>DIV>DIV:nth-of-blazon(6)>BUTTON>I"
TAG SELECTOR="HTML>BODY>DIV:nth-of-type(12)>DIV>DIV>UL>LI:nth-of-blazon(ii)>UL>LI>UL>LI>DIV>A>Bridge:nth-of-type(2)>Span"

I combed through the Imacros documentation for several hours, but I'm really non skilful with this stuff.

  • #ii
jtrash01
Joined
Nov 5, 2013
Messages
271
Reaction score
126
Your css selectors sucks... at to the lowest degree you know the beingness of pseudo selectors. The fashion you did it leads to errors sooner or after. YOUR MAIN Mistake IS TO WRITE LOOOONG CSS SELECTOR. Css selectors MUST exist curtailed.
For sure yous could have been used a class name, or other attribute to avert that long selectors... to use attributes with CSS selectors yous tin practice element[attribute="value"] another example: button[name="login_button"] y'all can also direct use classes or ID's every bit selectors .myclassname or #myidname and keep in mind that CSS has operators for attribute selectors, so you can select an element that contains a grade, not only an exact total match:
                                  [aspect=value]    [target=_blank]    Selects all elements with target="_blank"    two [attribute~=value]    [title~=flower]    Selects all elements with a title aspect containing the word "flower"    2 [attribute|=value]    [lang|=en]    Selects all elements with a lang attribute value starting with "en"    2 [attribute^=value]    a[href^="https"]    Selects every <a> element whose href attribute value begins with "https"    3 [attribute$=value]    a[href$=".pdf"]    Selects every <a> element whose href attribute value ends with ".pdf"    iii [aspect*=value]    a[href*="w3schools"]    Selects every <a> element whose href attribute value contains the substring "w3schools"                                

Source: http://www.w3schools.com/cssref/css_selectors.asp

An example of a complex selector: div[course~='like']:non([class~='liked']) It says: Select a div or divs that in the class aspect contains the word "like" but not contains the word "liked" (this is a Tumblr existent example, from my liker)

My advice is to acquire python, selenium (and what XPATH is), lxml, http protocol (and to use mitmproxy, or anyother http customer), javascript. And you lot'll meet then that iMacros truly sucks .

Ps: you should too continue in mind that some elements are backside others... and thats why iMacros can't at first hitting buttons...(witthout tweaking code (visibility, position, z-index and so)) And sometimes content is generated after with javascript...

Last edited:
  • #3

Deleted member 983460

Invitee
Hey jtrash01, thank you for the response. I don't know what half that stuff you lot mentioned is, or how it should be typed when put into imacros. As well, I didn't write the code above, imacros generated it for me haha.

I'll look at the site you linked and search the imacros site for the keyterms y'all mentioned, though. Thanks!

  • #4
jtrash01
Joined
November 5, 2013
Messages
271
Reaction score
126
Hey jtrash01, thanks for the response. I don't know what one-half that stuff you mentioned is, or how it should be typed when put into imacros. Also, I didn't write the code above, imacros generated it for me haha.

I'll expect at the site you linked and search the imacros site for the keyterms you mentioned, though. Cheers!

What was you trying to do ?
  • #5

Deleted member 983460

Invitee
What was you trying to exercise ?
I'm using imacros to navigate the height-correct dropdown card>myblognamehere, then I want information technology to copy the url into a google spreadsheet. I'm just having bug with clicking myblognamehere, that's it.

Edit: if the dropdown card is opened by me, imacros tin click it. If not, imacros says it couldn't find the element.

  • #half-dozen
jtrash01
Joined
Nov 5, 2013
Messages
271
Reaction score
126
For selecting your blogname you lot could try if using this selector works: input[name="t"] since there's this code in the dashboard <input type="hidden" proper noun="t" value="BLOGNAME"> and have its value attribute value... or maybe you could utilise .blog_name_span from <a course="blog_name" href="/blog/BLOGNAME"><span class="blog_name_span">BLOGNAME</span></a> and over again have its value...

Without trying information technology... perhaps:
TAG POS=1 TYPE=Span ATTR=CLASS:blog_name_span EXTRACT=TXT

You'll exist doing yourself a favor if u learn python / selenium (selenium api is easier than iMacros api and works far ameliorate):

When installing python make sure you check the option to include python in your PATH: After install, get to a command prompt (WIN + R and type cmd.exe in windows, or open up a powershell console) and blazon "python" without quotes... If the interpreter runs Installation was ok.

pip is the package manager of python, you need it to install packages. From the same control prompt type "pip install selenium" and selenium will get installed... Then you lot can create a with a ".py" extension to create a python script...

Knowing that you should advisedly read and follow: http://selenium-python.readthedocs.io/installation.html
And create an python_org_search.py file with the contents of the first example in hither: http://selenium-python.readthedocs.io/getting-started.html
then try to execute it from that command prompt you opened before (you must cd to the same folder the file is in): python python_org_search.py

For this to work you MUST have firefox installed

Last edited:
  • #vii

Deleted member 983460

Guest
Thanks for all your help human being! I'm gonna go to bed and expect at this stuff in the morn.
  • Abode
  • Forums
  • Social Media
  • Tumblr

gibbsprome1956.blogspot.com

Source: https://www.blackhatworld.com/seo/imacros-unable-to-click.858562/

Post a Comment for "Imacros Error Can t Find Button Try Again"