-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed as not planned
Closed as not planned
Copy link
Labels
I-defectSomething is not working as intendedSomething is not working as intendedJ-issue-templateApplied to issues not following the template, or missing information.Applied to issues not following the template, or missing information.
Description
What happened?
Background
I need to click on edge extension menu which is outside of DOM and open particular extension along with a web page. Able to do this locally using selenium action class. But failed on selenium grid
Description
So we are trying the same via CDP in selenium grid. We already have edge profile switching works in order to get the extension. These are the steps which I am trying to do. But devtools opens in seperate window everytime we start the session
- Open edge window with required profile where the extension is available
- Open the required web page
- Open edge extension by clicking from extension menu
- test extension
How can we reproduce the issue?
1. Open edge window with required profile where the extension is available
2. Open the required web page
3. Open edge extension by clicking from extension menu
4. test extensionRelevant log output
Sample code
public void cLickOnExtension() throws AWTException, InterruptedException, IOException {
WebDriver driver = new RemoteWebDriver(new URL( spec "gridURL"),setEdge0ptions());
driver = new Augmenter(.augment(driver);
driver.get ("chrome-extension://extensionID/sidepanel.html);
DevTools devTools = ((EdgeDriver) driver).getDevTools():
devTools. createSession:
devTools. send (Page.navigate url: "edge://extensions/".
referrer. Optional. empty, transitionType: Optional.empty), frameld: Optional. empty, referrerPolicy: Optional.empty));
devTools. send (Log.enable): devTools. getCdpSession);
devTools. send (Browser-setWindowBounds(new WindowID(1), new BoundsC
Optional. of (20), Optional.of(20), Optional. of(20),
Optional. of(20),
Optional. of(WindowState.NORMALDDDD;
System.out.println(*##opened extension menu");
Thread. sleep ( millis: 3000):
driver quit:Operating System
Windows 10
Selenium version
Java 17
What are the browser(s) and version(s) where you see this issue?
Edge 131
What are the browser driver(s) and version(s) where you see this issue?
Edge 131
Are you using Selenium Grid?
Selenium 4.20.0
Metadata
Metadata
Assignees
Labels
I-defectSomething is not working as intendedSomething is not working as intendedJ-issue-templateApplied to issues not following the template, or missing information.Applied to issues not following the template, or missing information.