Automating embed content in Internet Explorer using Selenium - javascript

Table I am trying to access
I am trying to access a table on a webpage that lies in an embed tag. I'm unable to access (I need to check/uncheck the checkboxes) the table using Internet Explorer. The code works fine in Firefox and Chrome.
The HTML content is as below
My problem is that in IE I can't find any contents of the table even with page source or inspect element, so I can't do anything with my table.

Related

Trying to find shadow-content tag in Google search page

I want to get the value of the contenteditable attribute under the child division of shadow-content.
On the Google Search page I am able to find the Shadow-Content tag under <textarea> when I am using the Safari browser.
This shadow-content tag is not available in Chrome, Firefox and Explorer.

How to implement the downloading of JavaScript variables such as a string, array in the form of a file on click of a button on Internet Explorer 8+?

I have a JavaScript string which I want to be downloaded when the user clicks a particular button.
I have got it to work on Firefox and Chrome using a data URI and creating a new anchor element which links to this data URI.
However, I found out that this way of doing it is not supported on IE due to security reasons.
Can someone tell me how can I download a file on clicking a button so that it works on IE using Vanilla JavaScript?
Thanks for your help.
Kevin

ngPrint in IE10, IE11 browsers

I'm using ng print directive for angularjs that provides the ability to print pages built using angularjs.
https://github.com/gilf/ngPrint
It works in Chrome and Firefox, however in IE browsers, even in the latest ones, the content disappears. There is a line of code where innerHTML is set to "" and then the cloned DOM is appended using appendChild followed by a window.print() function.
function d(g) {
var h = g.cloneNode(true);
//f.innerHTML = "";
f.appendChild(h);
window.print()
}
The page I'm trying to print contains ui-grid tables. On clicking the print buttons, the original contents i'm trying to print shrink in size like shown in the attachment. May be there is some IE quirk that is not adding the css files? How to get around with making it work in IE browsers?

navigational/home/end keys are not working in content editable div - FF browser

I have editable div(contenteditable=true) and I am dynamically adding innerHTML content to this div.
I observed that 'navigational arrows', 'home' and 'end' keys not working in this div. This is specifically for firefox browser only. However its working in chorme browser.
Please suggest your pointers.

Javascript works fine in firefox but not in ie and chrome

http://www.measureraajje.com/
The webpage works fine in firefox and opera,
but it doesn't work at all in internet explorer, google chrome and safari.
HOW IT SHOULD WORK:
The user should select an atoll first... then the adjacent combobox should display a list of islands.
After selecting 2 islands. the user will have to press add route... then the route will be added and the result will be displayed in the table below.
Use a single script tag at the end of the body tag and put in every js code which are using html elements of the page. Html elements must be present before excecuting javascript code.

Categories