Skip to content

Commit

Permalink
tips: Add Edge as Chrome
Browse files Browse the repository at this point in the history
- Relevant tip content and images.

Signed-off-by: kingthorin <[email protected]>
  • Loading branch information
kingthorin committed May 3, 2024
1 parent a941beb commit 8d4bc11
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions other/tips/selenium/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Selenium

This section exists to hold content related to the [Selenium](https://www.zaproxy.org/docs/desktop/addons/selenium/) add-on.
26 changes: 26 additions & 0 deletions other/tips/selenium/edge/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Use Edge (chromium) instead of Chrome

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).

## Setup Process

1. Get Edge's location. Hit the start menu and type "Edge".
2. Right click the start menu entry and hit "Open file location":

![](images/edge_file_location.png)

3. Get the properties for the Edge shortcut:

![](images/edge_shortcut_properties.png)

4. From the shortcut properties copy the "Target" value:

![](images/edge_properties.png)

5. Go back to ZAP and into the Selenium options:
6. Set the Chrome binary location to point to the Edge executable path you copied earlier.

![](images/selenium_options.png)

7. Then when you launch a 'Chrome' browser (either via the toolbar button or manual explore screen), it will launch Edge.
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.)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added other/tips/selenium/edge/images/launch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d4bc11

Please sign in to comment.