microsoft-edge

Microsoft Edge requesting new page on back/forward button

荒凉一梦 提交于 2021-02-09 09:19:09
问题 The latest version of the Microsoft Edge browser (41.162...) requests a new page when the back and forward buttons are clicked. I've tested multiple browsers on multiple platforms and only Edge exhibits this behavior. Here's a test page that displays the timestamp the page was created. Click the "Next Page" link and then use the back and forward buttons. Notice that the timestamp is different each time for Edge but not other browsers. The previous version of Edge did not request a new page

Change the default file download path for Edge using selenium

可紊 提交于 2021-02-08 10:46:28
问题 I was using selenium-ruby for automating browser application. I want to simulate file download scenario. When I want to execute for chrome I had a method named "download_path", its value can be changed at run-time and when download file it will be saved at my destination path. But, when I execute the same code for edge there is no method support for "download_path" in edge. Is there any way to set my default download location at runtime? Chrome Code: @browser = Selenium::WebDriver.for :chrome

How to enable 'Mircophone' access in Edge browser using Selenium?

回眸只為那壹抹淺笑 提交于 2021-02-08 08:50:13
问题 I understand there are various flags/parameters you can pass using desired caps to enable access to camera, microphone, etc. For instance on Chrome you can use ChromeOption and pass ' profile.default_content_setting_values.media_stream_mi ' under ' prefs '. I wish to enable the microphone access on Edge browser. I am not able to find any related information. Can somebody assist me here? For Chrome you can enable the same like mentioned here- How to allow or deny notification geo-location

Edge Extension with NativeMessaging

℡╲_俬逩灬. 提交于 2021-02-08 04:48:38
问题 I have an edge extension with native messaging support where it communicates with uwp application running in the system. Is it mandatory to have extension packaged within the appx folder of uwp app. if not then how can we upload the extension in edge extension store. I followed the secureInput sample: https://github.com/MicrosoftEdge/MicrosoftEdge-Extensions-Demos/tree/master/SecureInput They are putting extension within the Appx folder of UWP application. how will I upload extension in edge

Serialized SVG image with base64 embedded font, not rendering correctly in IE Edge

六眼飞鱼酱① 提交于 2021-02-08 03:43:14
问题 Edit: Issue reported to microsoft I have a inline svg element with a custom font that is embedded as a base64 string (.woff format). Using javscript, I am serializing the SVG element and using it as a source for an img element. Jsbin Link var svg = document.querySelector('svg'); var svgData = new XMLSerializer().serializeToString(svg); var img = document.createElement("img"); img.setAttribute("src", "data:image/svg+xml;base64," + btoa(svgData)); document.body.appendChild(img); svg { width:

Why is forEach not working in Edge?

风流意气都作罢 提交于 2021-02-06 13:54:30
问题 This code is not working in Edge browser. The accordion panel does not open and I get this error: Object doesn't support property or method 'forEach' const accordionBtn = document.querySelectorAll('.btn-accordion'); accordionBtn.forEach(item => item.addEventListener('click', e => { e.preventDefault(); const currItem = e.currentTarget; currItem.classList.toggle("open"); })) 回答1: Note this should work in Edge 16+ and across the latest versions of other browsers according to MDN. I manually

window.open() parameters ignored when opening cross-origin window in Microsoft Edge

∥☆過路亽.° 提交于 2021-02-05 09:27:51
问题 In Microsoft Edge, the following snippet will ignore the options passed to window.open() when url is a different origin than the current domain. But works it works fine in Chrome and Firefox, and when the domain is the same origin. const popupWindow = window.open( url, title, 'menu=no,toolbar=no,width=700,height=600,scrollbars=1,resizable=0,' + 'directories=no,location=no,screenX=0,screenY=0,top=48,left=48', ); I found a hacky workaround to get the window to size properly but this is really

Error on clicking the LinkedIn Share Button on IE/Edge

拥有回忆 提交于 2021-02-05 07:37:58
问题 I am using the below Share Plugin of LinkedIn in my ReactJS app: <script src="https://platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script> <script type="IN/Share" data-url="https://www.linkedin.com"></script> From LinkedIn Docs: https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/plugins/share-plugin It is working completely fine on Chrome/Firefox/Safari. But, on clicking the LinkedIn Share button (generated by the above scripts), the LinkedIn Share

stroke url not working in Edge and IE 11 SVG

瘦欲@ 提交于 2021-02-02 09:35:49
问题 I have an svg that has two paths, a diagonal line and small circle. Their stroke color are referenced to linearGradient located in defs stroke="url(#myGradient)" . On Chrome, Firefox and Safari, the small circle renders. But on Edge and IE 11 the small circle is not connecting the url path to the id of the linear gradient, if I change it's stroke attribute to a color then it renders, but I want to use the url value. div { height: 100px; width: 100px; } <div> <svg viewBox="0 0 20 10" xmlns=

How to get the PFN (package family names) for Microsoft Edge extensions?

◇◆丶佛笑我妖孽 提交于 2021-01-29 12:50:49
问题 I made an extension for Microsoft Edge. And I want to change a group policy in Local Group Policy Editor to prevent turning off required extensions. In the dialog indicated in the image below, I need to input the PFN (package family names) of the package. How can I get the PFN (package family names) for the extension of Edge? 回答1: you can refer steps below to get PFN (package family name) for the Extensions of MS Edge browser. (1) Open Windows PowerShell window. (2) Type below command. Get