Skip to content

Commit c80fe5d

Browse files
authored
Merge pull request #443 from kingthorin/tip-edge
tips: Add Edge as Chrome
2 parents b360c52 + de7f99d commit c80fe5d

File tree

7 files changed

+32
-0
lines changed

7 files changed

+32
-0
lines changed

other/tips/selenium/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Selenium
2+
3+
This section exists to hold content related to the [Selenium](https://www.zaproxy.org/docs/desktop/addons/selenium/) add-on.

other/tips/selenium/edge/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Use Edge (chromium) instead of Chrome
2+
3+
Since Edge on Windows is now chromium based, you can choose to set your "Chrome" binary as "Edge" if you have a requirement for testing/exploring things with Edge (ex: in a corporate environment).
4+
5+
> [!CAUTION]
6+
> While this tip might be handy for exploring an app manually it probably IS NOT a good move to set Edge as Chrome for the purposes of the Ajax Spider or DOM XSS rule.
7+
8+
## Setup Process
9+
10+
1. Get Edge's location. Hit the start menu and type "Edge".
11+
2. Right click the start menu entry and hit "Open file location":
12+
13+
![](images/edge_file_location.png)
14+
15+
3. Get the properties for the Edge shortcut:
16+
17+
![](images/edge_shortcut_properties.png)
18+
19+
4. From the shortcut properties copy the "Target" value:
20+
21+
![](images/edge_properties.png)
22+
23+
5. Go back to ZAP and into the Selenium options:
24+
6. Set the Chrome binary location to point to the Edge executable path you copied earlier.
25+
26+
![](images/selenium_options.png)
27+
28+
7. Then when you launch a 'Chrome' browser (either via the toolbar button or manual explore screen), it will launch Edge.
29+
8. Note: You may get a message saying the "Provided browser was not found" when you close Edge :shrug: (just click "Ok" and ignore it.)
191 KB
Loading
15.6 KB
Loading
28.5 KB
Loading
27.7 KB
Loading
34.2 KB
Loading

0 commit comments

Comments
 (0)