microsoft-edge

Django admin returns 403 Forbidden error on Microsoft EDGE after consecutive POST savings or editings

末鹿安然 提交于 2019-12-13 03:58:34
问题 I'm having 403 Forbidden error after saving or editing elements from Django admin, on Microsoft Edge. I'm logged in as superuser, so I have all the permissions for adding/editing elements through the admin. In fact, the problem is presenting when I successfully add a new element and then I decide to "save and continue editing" or "save and add another". The second modification/creation will always fail with the 403 error. It works well on all the other browsers, just Microsoft Edge fails. Any

Selenium webdriver launching edge browser

百般思念 提交于 2019-12-13 03:56:40
问题 I have an issue with Edge browser below is my code.The browser opens but control never goes to the browser instead execution halts and shows the error service = new EdgeDriverService.Builder() .usingDriverExecutable(new File("C:\\Program Files (x86)\\Microsoft Web Driver\\MicrosoftWebDriver.exe")) .usingAnyFreePort() .build(); service.start(); driver = new EdgeDriver(service, DesiredCapabilities.edge()); driver.get("http://xyz.in"); On executing the line driver = new EdgeDriver(service,

Trying to open PDF File in Edge shows “Something's keeping this PDF file from opening” error

浪尽此生 提交于 2019-12-13 03:25:36
问题 I'm trying to open a PDF file in the Microsoft Edge browser. The PDF file is generated using jsPDF library in Angular 8. The code I've written is given below: import { Component, OnInit } from '@angular/core'; import * as data from '../dummy.json'; import * as jsPDF from 'jspdf'; import 'jspdf-autotable'; @Component({ selector: 'app-create-pdf', templateUrl: './create-pdf.component.html', styleUrls: ['./create-pdf.component.css'] }) export class CreatePDFComponent implements OnInit {

Angular2: Object doesn't support this action in Microsoft Edge browser

丶灬走出姿态 提交于 2019-12-13 03:04:46
问题 My angular2 application throws exception stating Object doesn't support this action only in Microsoft edge. Please check the below image: I debugged and found out that the exception is thrown at promise then code. To be more specific, I am getting the error at then on below code: this.dataLayerService .postLogin(this.model, this.postURL) .then(usermasterResponse => this.setToken(usermasterResponse)) .catch(error => { this.toastCommunicationService.setMessage(error, "", this

How to spcify the download location for IE11 and edge browsers using Selenium bindings

六眼飞鱼酱① 提交于 2019-12-13 02:07:38
问题 Selenium C# bindings have the ability to specify the chrome download location: var options = new ChromeOptions().AddUserProfilePreference("download.default_directory", "D:\Downloads"); Does any appropriate realization exist for Edge & IE11? 回答1: IE does not use profiles.As such, there is no way to automatically download files to a specified location with Internet Explorer. 来源: https://stackoverflow.com/questions/50007004/how-to-spcify-the-download-location-for-ie11-and-edge-browsers-using

flex-shrink behaviour in different browsers [duplicate]

青春壹個敷衍的年華 提交于 2019-12-12 20:28:27
问题 This question already has an answer here : Why don't flex items shrink past content size? (1 answer) Closed 3 years ago . From what I get from the flexbox definition, items in a flex container are supposed to shrink, proportionally to their flex-shrink value (default 1 so should not need to be explicitely set), once the container gets too narrow. This works fine in Firefox (not minding that the aspect ratio gets screwed - that can be fixed): However, in other browsers (namely Chrome, IE and

Input event not recognised on <input type=“file”> in Edge

白昼怎懂夜的黑 提交于 2019-12-12 18:16:04
问题 I have a build a dynamic generating Formular including some input fields. <input type='file' style="width: 70%" name="anhang[]" class="anhang" id="anhang0" multiple/> If this input field is filled a new one is generated. The input event listener which is calling the method for generating the new field is the main problem I´m facing: $(document.body).on("input", ".anhang", function (e) { alert("input"); addFileInput(); }); var inputCounter = 0; function addFileInput(){ inputCounter++; $('

Any way to mimic the download attribute of an anchor tag?

流过昼夜 提交于 2019-12-12 17:21:25
问题 The download attribute of an <a> tag helps Edge open download links more nicely (i.e. it closes the target tab once it realises it won't be used). Is there any way to do that when Javascript is responsible for initiating the download? As in HTML: <span class='btn-link' onclick='openReport(@orderNumber, @tableBodyId); return false;'> Javascript (talking to ASP.NET MVC controller): function openReport(orderNumber, tableBodyId) { var url = "/Reports/ValuationReportDocPdf?orderNumber=" +

Can you use multiple instances of Edge on a Selenium Grid Node?

我们两清 提交于 2019-12-12 16:33:26
问题 Using the config below, I am only seeing one instance of Edge running on my node. When using chrome with a similar setup, I can run multiple browsers on the same node. Here is the config.json I am using: { "capabilities": [ { "browserName": "MicrosoftEdge", "maxInstances": 4 } ], "configuration": { "proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy", "maxSession": 5, "port": 7777, "register": true, "registerCycle": 5000, "hubPort": 4444, "hubHost": 192.168.56.101 } } I am running the

HTTP Request headers and caching

帅比萌擦擦* 提交于 2019-12-12 11:43:07
问题 How should an HTTP Agent make decisions about using cached response when a request has the same path but different headers? Take for example this HTTP request/response: GET /resource HTTP/1.1 Host: example.org X-Filter: foo=bar HTTP/1.1 200 OK Cache-Control: max-age=3600 Content-Type: application/json Content-Length: 13 {"foo":"bar"} Should the agent consider the response valid for a second request with a different X-Filter header? For example: GET /resource HTTP/1.1 Host: example.org X