i am trying to click on the button links in the webpage http://stage.pressrun.prod.europe.s3.amazonaws.com/preprod/appstudiowidgets/index.html#issue/idmlintegration/landscape/1 but not able to do so.
Can anyone please provide the webdriver code in clicking any of the links in the page.
Thanks
Related
So I'm still learning, and I can't figure out why my links won't work. If I click "open in new tab", it does work. I'm trying to link to another external page.
I've read that this could be due to another linked js file... but what js code could effect links like this?
I mean if I'm going to go through all my other files I'd rather know what I'm looking for.
Here is my link:
visit
FYI, no links work for external URLs, but it works when I use links to navigate around my own website.
check you achor link. That is lacking of closing tag </a>
I'm looking for a script, jquery or else to ask user for its google contacts, but in a nice modal window... I have the script with oauth (http://25labs.com/import-gmail-or-google-contacts-using-google-contacts-data-api-3-0-and-oauth-2-0-in-php/), which works, but in a whole window...
I've tryied jquery load into a div, but it doeasn't work (nothing is loaded)...
Do you know something about this?
thanks
With jquery.load() you are running into a cross domain policy issue caused by AJAX. If you want to load the OAuth dialogue into a modal window you should load it into an iFrame within the modal window. Most popular modal window libraries support iframe content.
I have made a chrome extension where user login and its favorite shops are being displayed, now I want to user to be log out when it will click on log out button, I am calling a javascript function but it is not working.
Logout Code:
<a href='#' onclick='DeleteCookies('memberid');'>Logout</a>
When I debug it in chrome editor then it says
Refused to execute inline script because of Content-Security-Policy.
Besides this I was trying to user should go to main website when he will click on an image but that link was also not working, all is that hyperlinks are not working.
What should I do to resolve this? can any one tell me its solution? i will be very thankful to him.
Yeah you cannot use inline script in extensions. Give an 'id' to your link and in a separate javascript file write on click function for that 'id' and include this javascript file in your html head section.
I created a web app (without browser chrome) which loads most of its pages locally from index.html. Now I have one page which i can not integrate into index.html, since it has to be refreshed when loaded. I placed it on the same server and called it stats.html and link to it like this:
Stats
When I click this link, the browser pops to the front instead switching to the page without browser chrome.
How can I link to an external page in a way that it still looks like one app?
I appreciate any hints to solve this problem.
just found https://github.com/mrmoses/jQuery.stayInWebApp that seems to be the solution.
Is there any way to open a page in the browser by clicking the app in out-of-browser mode?
Thank you
HyperlinkButton works. I was trying with HtmlPage.Window.Navigate with no success. And because the button supports content it is simple to create something like a linked image.
Agreed with Artur and simple way to do this is :
1) Put HyperLink Button in your Silverlight page.
2) Generate Click event and provide :
hyperlink.NavigateUri = new Uri("Url",UriKind.RelativeOrAbsolute);
3) Simply Run the Application and Click on HyperLink Button.