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
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
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
- Joined
- Nov 5, 2013
- Messages
- 271
- Reaction score
- 126
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...
- #3
Deleted member 983460
Invitee
I'll look at the site you linked and search the imacros site for the keyterms y'all mentioned, though. Thanks!
- #4
- Joined
- November 5, 2013
- Messages
- 271
- Reaction score
- 126
What was you trying to do ?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!
- #5
Deleted member 983460
Invitee
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.What was you trying to exercise ?
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
- Joined
- Nov 5, 2013
- Messages
- 271
- Reaction score
- 126
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
- #vii
Deleted member 983460
Guest
- Abode
- Forums
- Social Media
- Tumblr
- This site uses cookies to aid personalise content, tailor your feel and to keep you logged in if you lot register.
By continuing to apply this site, you are consenting to our use of cookies.
Source: https://www.blackhatworld.com/seo/imacros-unable-to-click.858562/
Post a Comment for "Imacros Error Can t Find Button Try Again"