Category : google-chrome

I must redirect a certain URL from Chrome to Internet Explorer. We are achieving this by changin our registry to send this specific URL on Internet Explorer. We then call window.open(url) inside our Angular app. However, Chrome is delaying the redirection by 3 seconds, with the following message (translated from French): Opening in Internet Explorer ..

Read more

There occurs a difference in the File object received from the same HTML input element between Chrome and Firefox. I am using Angular on the front-end. My HTML Input Element <input type="file" accept=".csv" (change)=onSelectFile($event) /> My Typescript Code onSelectFile(event: any) { event.preventDefault(); const file = event.target.files[0]; console.log(file) } The output of the above Typescript Code ..

Read more

After updating chrome driver to ChromeDriver 91.0.4472.19 The value attribute have dissapeared from the input elements. Protractor cannot access the value attribute. let x = await xDiv.getEl("#xInput").getAttribute(‘value’); // x = null Using the Chrome Dev Tools, I am also not able to see the value attribute of any input element in the markup. Using AngularJS ..

Read more

I have one iframe http://url%20of%20angular%20application It works fine in chrome but not working in Mozilla Firefox, can anyone help me on this. It is works in chrome desktop browser but again in mobile chrome browser it is not working. working in chrome desktop. not working in firefox not working in mobile chrome. The angular application ..

Read more

simulating offline state in chrome dev-tools using ‘throttling: offline’ result in ‘No internet connection’ error when trying to access web app(Angular) running on localhost:4200. when manually turning off wifi and internet connection the I have access to localhost:4200 with no problem(my app does not require an internet connection to run). It seems that ‘offline’ mode ..

Read more

I’ll try to explain the problem step by step. I wrote some custom validators in AngularJS both as directives and as a service. Here’s the code: //validators.service.ts @Injectable() export class ValidatorsService { constructor() { } email():ValidatorFn { return (control: FormControl) => { if (!isNullOrUndefined(control.value) && control.value !== ”) { const isValid = /^w+([.-]?w+)*@w+([.-]?w+)*(.w{2,3})+$/.test(control.value); if (isValid) ..

Read more

is there a way I can listen to click event of stop sharing button which appears bottom of chrome when sharing the screen using angular the method i need to call on click of stop sharing handleStopRecording() { this.recordOption.isStart = !this.recordOption.isStart; this.showWebcam = false; if ( this.requestType === "screenAndCamera" || this.requestType === "audioAndScreen" ) { ..

Read more