microsoft-edge

Edge: Script70 error opening new window tab

情到浓时终转凉″ 提交于 2019-12-06 03:20:29
I am having an issue with Microsoft Edge browser (works fine on chrome, firefox, ie11). Code: let win = window.open('', 'testWindow'); win.document.open(); win.document.write(var); win.document.close(); I am using this to open a new tab, write to it and print page. In Edge i am getting an error: Script70: permission denied on the win.document.open(); . I have researched many similar issues with an iframe but have yet to find the cause of this error. You have syntax error in your code example which you can see in console in any browser. You can try to modify your code like below will work with

Process.Start(“microsoft-edge:”) gives me Win32Exception

北城余情 提交于 2019-12-06 02:50:00
When I execute the following line of code: Process.Start("microsoft-edge:"); Or Process.Start("microsoft-edge:http://localhost"); It gives me this error: System.ComponentModel.Win32Exception: 'The system cannot find the file specified.' When I run microsoft-edge: using Win + R it works. I'm using .netcore 3.0.0-preview6-27804-01 Any idea why this is happening? Edit: These are not working either: Process.Start(@"c:\Windows\System32\LaunchWinApp.exe:http://localhost"); Process.Start(@"http://localhost"); All other executables on my system work. Also this is working too but I can't open a

Import browser extensions in Safari/Edge/IE selenium

余生颓废 提交于 2019-12-06 00:45:04
Is it possible using Selenium only, to import an extension into the Safari/Edge/IE webdriver? So that Safari/Edge/IE boots with the extension imported and enabled for testing? And if possible... How do i do this in Python I'm pretty sure none of those browsers have support for this in selenium. Your only option is to set up the browsers with extensions before running the tests. Safari and IE will probably never get support for this as the safari driver is deprecated and IE won't get any more updates as the focus will shift fully to Edge. Microsoft Edge also does not even support extensions in

Pixelated image downscaling in Microsoft Edge

岁酱吖の 提交于 2019-12-06 00:40:35
问题 I recently made a logo for my website with a resolution of 400x400. It scales down to 40x40 just fine in any other browser I have tested, but it acts weirdly in Edge. Every time I refresh the page, it renders properly for a split second, before changing to an ugly, pixelated look after the page completes loading. How it looks before the page loads fully (and how I want it to look): How it looks when page finishes loading: HTML: <img src="/images/logo.png" class="logo"> CSS: .logo { width:

Edge doesn't stretch iframe in a flexbox

拥有回忆 提交于 2019-12-05 23:25:28
问题 The iframe in the following demo is a flex item: * { margin: 0; border: 0; padding: 0; } html, body { height: 100%; } body { display: flex; } iframe { background: olive; flex: 1; } <iframe></iframe> But it doesn't cover the flex container: If you replace iframe with a div , it works with no problem. Why is that? What's the right approach to resolve the issue? 回答1: There does appear to be an interop issue between Microsoft Edge, and Chrome/Firefox. I'll file a bug on this immediately after

Why is Edge body scrollbar different from Firefox body scrollbar?

非 Y 不嫁゛ 提交于 2019-12-05 22:32:06
I'm creating a chatting list, it works fine on Firefox, but it's not on Microsoft Edge. CSS of the root <div class="chatting"> : .chatting { position: fixed; bottom: 5px; right: 5px; border: 1px solid #f00; width: 206px } Result on Firefox: and on Microsoft Edge: The second snapshot means: right: 5px; is not enough. Why? That's my problem or Edge problem? By default Edge (and newer Internet Explorers) use an autohiding scrollbar, which doesn't occupy layout space. Adding -ms-overflow-style: scrollbar to your CSS makes the scrollbar behave like the scrollbar in Firefox (and Chrome and other

MicrosoftWebDriver fails when constructing while running under TeamCity agent's windows service

五迷三道 提交于 2019-12-05 15:59:56
Using: * Windows 10 Pro * MicrosoftWebDriver Release 14393 I'm having troubles with running my UI tests suite with Edge (while Chrome, Firefox and IE11 - all work). The problem does not occur while running in standard, windows - development environment. The problem only occurs when trying to run these UI tests on CI (TeamCity) agent. The agent is configured to run as a Windows Service. Firstly, when account running the agent service was given Administrator's account, I was being received the: "Microsoft Web Driver can't be used with the Built-In Administrator account or while User Account

XPath expression using “and” doesn't work in Microsoft Edge?

℡╲_俬逩灬. 提交于 2019-12-05 14:21:37
I'm working on an application that uses XPath expressions to select nodes from XML. We've noticed that this seems to break down for us when testing in the Microsoft Edge preview. I've cut down our code to a brief snippet that demonstrates the issue: var xml = "<xml id='relationships'><Relationships><f id='some_id' ><f id='some_other_id' /></f></Relationships></xml>"; var doc = (new DOMParser).parseFromString(xml, "text/xml"); var nodes = doc.evaluate("//f[@id='some_id' and f]", doc, doc.createNSResolver(doc.documentElement), XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); console.log(nodes

PDF Viewer using object tag not working for Edge

旧街凉风 提交于 2019-12-05 14:19:04
I am trying to show a PDF document inline using the object tag - it works as expected in Chrome and Firefox but isn't working in Edge. Sample Code: <object id="pdfObj" data="http://www.pdf995.com/samples/pdf.pdf" type="application/pdf" target="_parent"> </object> Plunker: http://plnkr.co/edit/wH9ECcwkx3vHFv43xTo5?p=preview What's a good way to show the PDF viewer in Edge? Thanks for your help. I've faced a similar issue. Object tag behaves differently in IE and EDGE; the sever needs to accept the HEAD request made by the object tag (HEAD request : only in IE & EDGE) and give a response, then a

Microsoft EDGE Browser. Error SEC7117

你离开我真会死。 提交于 2019-12-05 12:59:32
I open site https://www.1platforma.ru/ first time (or clean cache) In developer console I see an error SEC7117. MS EDGE Browser could not load bundle.min.css and bundle.min.js files. How can my users open the site and see interface with CSS and JS if those files didn't load?.. Could it be that those resouces are loaded from Intranet? See here: Understanding Enhanced Protected Mode Internet pages are not able to frame Intranet pages, load images or resources from them, send them CORS XHR requests, etc. If that's the case, see my solution here: https://stackoverflow.com/a/32828629 来源: https:/