How to make Developer Tools in MS Edge to default to Console tab instead of Sources? - microsoft-edge

Whenever I open the Developer Tools or if the web page is refreshed, Tools will switch to the Sources tab.
When I'm debugging code, I want it to stay on the Console tab. Is there a way to do this? Or even keep Console on-top.

Well, I've searched about this issue and I found that there is a setting in the default configuration of the developer tools to automatically foucus the Resource tab when a breakpoint is triggered, this should be the cause of the problem.
But you can disable this option by following these steps:
In Edge, open devtools in any way.
Focus in devtools and press key F1 to open settings panel.
In Preferences tab, scroll down and find the option Focus Sources panel when triggering a breakpoint.
Uncheck this option and restart open devtools.
Something like this below:

Related

How to Security > Privacy settings for a "Watch Me Do" QuickAction in Automator

I'm using Mac OS X 11.0.1 Big Sur
I used Automator to create a "Watch me do" QuickAction. I've saved it (is seems to save in ~/Library/Services by default), and exported it to iCloudDrive/Automator. I can run this script to completion successfully from within Automator without any prompts, warnings or errors.
During export, I was prompted to add it to the Touch Bar, which I did. I can see it on the TouchBar. However, when I run my QuickAction from the TouchBar, I get a popup message indicating that it needs to be added to the Privacy tab:
The action “Watch Me Do” encountered an error: “This application must be allowed to control this computer using accessibility features, using the Security & Privacy preferences located in System Preferences, before using 'Watch Me Do'”
There are two buttons on the popup: Show Workflow and OK
Clicking on "Show Workflow" opens the Workflow in Automator, and does not solve the problem.
Clicking on "OK" closes the popup, does not open the Security Settings, and does not solve the problem.
I can see that Automator is added to Security & Privacy > Accessibility AND ITS CHECKED.
I can see that Automator is added to Security & Privacy > Full Disk Access AND ITS CHECKED.
I can see nothing in the Security & Privacy > Automation pane.
I don't see my QuickAction anywhere, nor am I able to add it anywhere.
I need the procedure to add my QuickAction to the appropriate section to satisfy the security requirement please.
Put your TARGET app in the Security & Privacy > Accessibility section, like if you are gonna run that workflow in Chrome, then put Chrome in the Security & Privacy > Accessibility (simply drag the Chrome.app file into the window).
That works for me!
Check if Automator is allowed to control Bluetooth (same menu Security&Privacy). Worked for me. I never seen this "Watch me do" warning after that.
Check the list of apps in the "Accessibility" area of Security and Privacy. At least one of the apps that are unchecked will need to be checked. This is because after giving you the pop up error message, MacOS adds the needed app(s) to the list of apps allowed to "control your computer". But you have to manually check mark it yourself, because it is only added to the list, but not checked. (Note: not all the apps in this list need to be checked, just the one's relevant to your workflow.)
It's a confusingly worded popup message. Note that we can't even create a "Watch Me Do" until after Automator is given "Accessibility". (This may be confirmed by unchecking Automator in Accessiblity, and then trying to record a "Watch Me Do".) So, even before we are able to record a "Watch Me Do", Automator has Accessibility. Which means, the pop up message you are seeing is not referring to Automator, but to another app.
For example, if your "Watch Me Do" included a click of the menu at the top your Mac's screen, then you would have to give the "Finder" app "Accessibility" too.
To expand the example, I created a "Quick Action" to "Launch Application", and then "Watch Me Do". During the recording of "Watch Me do" I clicked on "File" in the menu at the top of the Mac screen. This menu click was performed not while Finder was the selected app, but while the launched app was selected, so it did not say "Finder" in the upper left corner of my screen, but rather had the "App Name" in the upper left corner of my screen. I was not required to add Accessibility for the app that was launched, but I was required to add Accessibility for Finder. (Edit: I discovered if the app being launched is already launched before running the workflow, then this example required me to give the launched app Accessiblity. Go figure.) ​
Note: if you had created an "Application" instead of a "Quick Action" then you would also have to give the application you made with Automator to have "Accessibility."
I've found that making your changes in the Security & Privacy > Accessibility section, and keeping the lock unlocked when quitting, ensures that the workflow operates as desired.

QAF Reports are not populated in dashboard.htm

Got the latest code here: https://github.com/infostretch/qaf-report.
Extracted dashboard directory & dashboard.htm to the project root directory.
Ran QAF tests.
Opened dashboard.htm during test run & also after test run.
Tried to open dashboard.htm in Google Chrome, Firefox & Safari after giving permissions to access local files. But Dashboard.htm did not load anything. A spinning icon is displayed continously even after several minutes.
Am I missing anything here?
If you are accessing reports locally as file protocol, browser may have restriction to access local files. In such case follow the steps to allow local file access from file for the browser you are using.
Firefox:
go to about:config
set security.fileuri.strict_origin_policy:false.
Safari:
Click on the Develop menu in the menu bar.
Select Disable Local File Restrictions.
If develop menu is not available, Click on the Edit > Preferences > Advanced tab. Check "Show Develop menu in the menu bar.
chrome:
Close down your Chrome browser (make sure you close all instances if you have multiple windows open)
Go to Run and type the following command: chrome.exe --allow-file-access-from-file.
Hit enter.
Reference from local-report-access
I just want to give more clarity by making little corrections to the existing steps mentioned here:
https://github.com/infostretch/qaf-report#local-report-access
When you are opening report "dashboard.htm" from local file system, your browser may have local file access restrictions.
In that case, you can do following setings:
Firefox:
Enter "about:config" in the browser url field & click on the button "Accept the Risk & Continue".
In the "search preference name" field, enter "security.fileuri.strict_origin_policy" & click Enter & click on the toggle button towards the right to set it FALSE.
Safari:
Click on the Develop menu in the menu bar.
Select Disable Local File Restrictions.
If develop menu is not available,
1. Click on the Safari > Preferences > Advanced tab(in MAC, Safari > Preferences > Advanced tab).
2. Check "Show Develop menu in the menu bar.
Chrome:
In Windows PC:
Close down your Chrome browser (make sure you close all instances if you have multiple windows open)
Go to Run and type the following command: chrome.exe --allow-file-access-from-file.
In MAC
Open your terminal anywhere, make sure Google Chrome is currently not running, copy paste this line and hit enter:
open /Applications/Google\ Chrome.app --args --allow-file-access-from-files

Microsoft Edge Developer Tools won't open (blank screen)

This started about a week ago. The Developer Tools (F12) opens with a blank screen and then locks up the browser. The longer I leave the browser open, the more "locked up" it gets and takes longer to shut the process down. The Task Manager does not show a memory leak or runaway CPU. In fact, the longer I leave Edge's Developer Tools blank screen open, the more Edge's CPU % drops.
I'm on Win10 1909 (Build 18363.592) and no updates are available.
Looks like you are using the MS Edge legacy browser. It is recommended to move to the new MS Edge Chromium browser.
You can download it from the link below.
Download MS Edge Chromium browser
If you have a requirement to work with the MS Edge legacy browser then I suggest you repair/ reset the browser may help to fix the issue.
You can refer to the steps below to repair/ reset the MS Edge legacy browser.
Click on the Start button and click on the Settings button.
Click on the Apps option.
Click on the Apps & Features option from the left sidebar.
Find the Microsoft Edge browser application from the list and click on Advanced options.
Scroll down and click on the Repair button. If the issue persists then you can also try to click the Reset button to reset the browser.

Google Chrome doesn't open on click "View in Browser"

Using Visual Studio 2019 for ASP.Net application, when I right click and choose "View in Browser (Chrome Browser)" it doesn't open or no response whereas when I change and set default as internet explore "View In Browser (Internet Explorer)" it work fine. Anyone know how to fix this?
drop down
click the drop down in the run and debug button and make sure chrome is selected,
Hope this helped

Developer tools in windows edge browse localstorage

I'm trying to use the new windows Edge browser for my web development.But just can't find any way to browse localstorage, cookies etc. inside the developer tools. How do I view them?
Best regards
They are here: Debugger tab -> Folder icon on the left, under the "play" icon.
you can check localStorage object in the Console
Open F12 Developer Tools (press F12)
Go to Console tab
type localStorage in the input and click run/press enter. check the screenshot

Resources