button click not working on iMacro in Chrome - google-chrome

The goal is to visit the specified url and auto click the play button.
Play button image:
https://prnt.sc/uanvxv
Issue:
imacro auto visits the url but not clicking the play button.
Here's my code:
VERSION BUILD=1005 RECORDER=CR
URL GOTO=https://www.bbc.com/bengali/bbc_bangla_radio/liveradio
TAG POS=1 TYPE=MAIN ATTR=TXT:বিবিসি<SP>বাংলাবাংলাদেশ,<SP>তার<SP>প্রতিবেশী<SP>এবং<SP>গোটা*
FRAME F=2
WAIT SECONDS=10
TAG POS=1 TYPE=POLYGON ATTR=ID:p_audioui_playpause.focused
Why the button is not auto clicking? Can anybody help

VERSION BUILD=1010 RECORDER=CR
URL GOTO=https://www.bbc.com/bengali/bbc_bangla_radio/liveradio
WAIT SECONDS=5
FRAME F=2
TAG POS=1 TYPE=BUTTON ATTR=CLASS:audioButton*

Related

Download an image instead of opening it in new tab

I am trying to download an image on click and using "download" attribute of HTML5 for this. But it is redirecting the user to a new tab instead of downloading the image.
Click to Download
How can I sort out this issue?
I tried to change the path from the href attribute to download and it worked Click to Download

<a> tag is not opening the linked page rather refreshes and stays on itself on clicking

HTML Code:
<button class="next">Next</button>
If I click on the button, it supposed to take me on that link but this is not redirecting to that page and stays on the same page but if I open the link in a new tab then this is opening the linked page

Error: Sorry, upload functionality is currently not supported in iMacros for Chrome

Error: Sorry, upload functionality is currently not supported in iMacros for Chrome
--------------------------Code is --------------------------
VERSION BUILD=8340723 RECORDER=CR
TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:upload.php ATTR=NAME:uploadFile CONTENT=C:\Dharmendra\Desktop\newfile.csv
WAIT SECONDS=5
ONDOWNLOAD FOLDER=* FILE=downloadnewfile WAIT=YES
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:upload.php ATTR=*

Safari - automatically add preventDefault if <a> has on click event?

I have this button that will open page-a in new tab while the current page will move to page-b
Click me
It works fine in Chrome but in Safari, it goes to page-b while ignoring the url in href.
So my guess is: Safari automatically add preventDefault() if the anchor tag has click event?
Is there solution for this?
Thanks

How to open links from inframe outside of it?

well I have that problem, im using a lightbox srcipt and im opening an iframe in it so it's simply iframe. Is there a way to put a link inside of this iframe and open this link in normal window (outside of iframe) ?
Use My Linkto put it on top of all other frames (break out).
_blank will put in a new window or tab
_parent will put the link in the frame above the current (same as _top if only one level of frame)
Using the name (not id) of a frame will open the link in that frame.
http://www.w3schools.com/tags/att_a_target.asp
If you want to open the link in a new window/tab, use the _blank target:
<a href="someurl..." target="_blank">
If you want to open the link so that it replaces the page where the iframe is, use the _top target:
<a href="someurl..." target="_top">
Try adding target="_parent" to the link tag, to open the link in the parent page that contains the IFrame, or target="_blank, to open the link in a new browser window.
target="_blank" New window
target="_self" Current window
target="_parent" Parent frame
target="_top" Full browser window