microsoft-edge

Windows Edge and opening a blob url [duplicate]

守給你的承諾、 提交于 2019-12-18 13:16:24
问题 This question already has answers here : Open links made by createObjectURL in IE11 (4 answers) Closed 2 years ago . I'm getting some odd results when trying to open a new window with a blob url in Windows Edge (20.10240.16384, which is the version in the IE11 VM supplied by Microsoft). var xhr = new XMLHttpRequest(); xhr.open('POST', sourceUrl, true); xhr.responseType = 'blob'; xhr.onload = function(e,form) { if (this.status == 200) { var blob = this.response; var url = window.URL

Reading out Edge Browser Title & Url with System.Windows.Automation

家住魔仙堡 提交于 2019-12-18 09:14:00
问题 I'm trying to read out the TITLE & URL from the Microsoft EDGE Browser. Doing this with System.Windows.Automation most preferably since the code base already uses this for other problems. Is it possible with System.Windows.Automation? How to access the URL? I'm currently this far: AutomationId "TitleBar" ClassName "ApplicationFrameWindow" Name = [string] => Reading out this element gives me the TITLE => Walking it's children, I find the item "addressEditBox": AutomationId "addressEditBox"

Switching from Internet Explorer to Microsoft Edge

守給你的承諾、 提交于 2019-12-18 05:45:20
问题 After the recent release of Windows 10, including the new browser - Microsoft Edge - would anyone simply know how to open Microsoft Edge browser via Excel VBA. I have tried searching the website without any luck. This is the current basic Excel VBA coding I use to open the Internet Explorer: Sub xyz() Dim Browser As SHDocVw.InternetExplorer 'Microsoft Internet Controls Dim HTMLdoc As MSHTML.HTMLDocument 'Microsoft HTML Object Library Dim URL As String URL = "http://www.bbc.co.uk/news" Set

Microsoft Edge: onclick event stops working?

主宰稳场 提交于 2019-12-18 03:55:23
问题 I have strange problems with my (ASP.NET) web application in Microsoft Edge. At a certain point the onclick event stops working. All buttons on the page that respond to the onclick event stop working. On the same page I have some buttons that respond to the onmousedown event and they keep working. If I refresh the page, the problem is gone. There are no errors in the console. I do not have this problem with other browsers (including IE11 under Windows 10). Did any of you experience similar

localStorage not working in Edge?

坚强是说给别人听的谎言 提交于 2019-12-17 19:48:23
问题 I am currently working on a some JS. It works fine in every browser apart from Microsoft Edge. The issue is quite simple: at the beginning of one of my scripts I declare a variable like so: var something = localStorage.getItem('something'); Anyway the something doesn't exist yet, but the whole idea is that this can be used for reference in a later function. Firefox, Chrome, Opera and Safari don't have a problem with this but Edge does, so my question is, is the a quick fix? Or am i going to

What is the User Agent string name for Microsoft Edge?

点点圈 提交于 2019-12-17 17:53:58
问题 I'm making a website and I want it to be compatible with the forthcoming Microsoft Edge when it comes out officially. To be more specific, the mobile version of it. Does anyone know what string will identify the Edge Mobile Browser (for example, "IE Mobile" identifies the mobile version of the Internet Explorer). 回答1: Microsoft Edge UA string: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10136 I detail why in this blog post.

getting cannot focus element in chrome and edge using java/selenium

霸气de小男生 提交于 2019-12-17 16:27:28
问题 I am getting a cannot focus element error when running my test in chrome and edge in FF it works fine. I have tried posted resolutions but to no avail. I am not sure what to do about this. Hoping someone out there can help. Thanks in advance. driver.findElement(By.linkText("Add")).click(); List <WebElement> groups = new Select(driver.findElement(By.xpath("/html/body/div[1]/section/div/article/form/fieldset/div[3]/div[2]/div/div/div[1]/select"))).getOptions(); groups.get(3).click();

Unable to set cookies in Selenium Webdriver

杀马特。学长 韩版系。学妹 提交于 2019-12-17 16:26:25
问题 I'm trying to add cookies to a link before I open it with webdriver but it keeps giving me this error: org.openqa.selenium.UnableToSetCookieException: Unable to set cookie (WARNING: The server did not provide any stacktrace information) Please find my code below: System.setProperty("webdriver.edge.driver","C:\\Program Files\\Latest Webdriver\\MicrosoftWebDrive.exe" ); EdgeDriver = new EdgeDriver(); Thread.sleep(2000); Cookie cookie = new Cookie("Testing", "11111"); EdgeDriver.manage()

Remove Microsoft Edge's phone number styling

为君一笑 提交于 2019-12-17 15:28:22
问题 I noticed that the new Microsoft Edge browser overrides my styles when it detects phone numbers: <span class="phone">(123)123-1234</span> See this jsfiddle (must be opened using Microsoft Edge :P). This sort of intrudes upon the design of the website, and is rather obnoxious. Sure seems like a trait of a successor to IE :/ How can I override or disable this so my website users will not see it? 回答1: You can get rid of it by adding this meta tag in the header of your pages. <meta name="format

XMLHttpRequest: Network Error 0x80070005, Access is denied on Microsoft Edge (but not IE)

那年仲夏 提交于 2019-12-17 13:45:15
问题 I have a very simple ajax request (see below). The server is using CORS and works fine in IE 10+, Chrome, Firefox and Opera . On Microsoft Edge however, it fails with XMLHttpRequest: Network Error 0x80070005, Access is denied. I have researched the posts here, here, here and here, but cannot find an answer that works. Those people have had issues with IE, but adding the contentType (not required for this get) and crossDomain has it working fine. CanIUse seems to state that CORS is usable in