SeleniumHQ / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
30.22k stars 8.11k forks source link

[๐Ÿ› Bug]: Something wrong when i switch browser tabs with Edge in IE-mode on windows 10. #12600

Closed zhuyuemings closed 1 year ago

zhuyuemings commented 1 year ago

What happened?

I use selenium-java 4.11.0 and 32 bit Windows IE Driver: IEDriverServer_Win32_4.11.0.zip

<dependency>
    <groupId>org.seleniumhq.selenium</groupId>
    <artifactId>selenium-java</artifactId>
    <version>4.11.0</version>
</dependency>

I created 2 Tabs with Edge in IE-mode: Tab1, Tab2

when i opened Tab2, and tried to switch to Tab1()

driver.get("https://www.baidu.com");
String windowId = driver.getWindowHandle();
driver.switchTo().newWindow(WindowType.TAB);
driver.get("https://lizhi.shop");
driver.switchTo().window(windowId);
String title = driver.getTitle();

i got the title from Tab1, but the browser is still displays Tab2.

and i can not find any wrong in driver log.

How can we reproduce the issue?

this problem 100% occurrence on windows 10 64 bit (22H2), IE 11, any Edge Version(I tried 102-116),
java 11, source code :

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WindowType;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerDriverLogLevel;
import org.openqa.selenium.ie.InternetExplorerDriverService;
import org.openqa.selenium.ie.InternetExplorerOptions;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;

public class IESwitchTabTest {

    public static void main(String[] args) {
        String driverLocation = "C:\\work\\driver\\ie\\IEDriverServer.exe";
        String driverLogPath = "C:\\work\\test-out\\driver.txt";
        InternetExplorerOptions options = new InternetExplorerOptions();
        options.attachToEdgeChrome();
        options.introduceFlakinessByIgnoringSecurityDomains();
        System.setProperty("webdriver.ie.driver", driverLocation);
        InternetExplorerDriverService service = new InternetExplorerDriverService.Builder()
                .withLogLevel(InternetExplorerDriverLogLevel.DEBUG).build();
        try {
            service.sendOutputTo(new FileOutputStream(driverLogPath, true));
        } catch (FileNotFoundException e) {
            e.printStackTrace();
            return;
        }
        WebDriver driver = new InternetExplorerDriver(service, options);
        driver.get("https://www.baidu.com");
        String windowId = driver.getWindowHandle();
        driver.switchTo().newWindow(WindowType.TAB);
        driver.get("https://lizhi.shop");
        driver.switchTo().window(windowId);
        String title = driver.getTitle();
        System.out.println(title);
    }

}

### Relevant log output

```shell
I 2023-08-23 21:33:52:924 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(88) Starting WebDriver server on port: '42265' on host: ''
I 2023-08-23 21:33:52:925 C:\projects\seleniumhq\selenium\cpp\iedriver\IEServer.cpp(33) Driver version: 4.11.0.0 (32-bit)
Started InternetExplorerDriver server (32-bit)
4.11.0.0
Listening on port 42265
Log level is set to DEBUG
Only local connections are allowed
D 2023-08-23 21:33:52:937 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: GET /status {}
D 2023-08-23 21:33:52:938 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : 
    {
        "build" : 
        {
            "version" : "4.11.0.0 (32-bit)"
        },
        "message" : "Ready to create session",
        "os" : 
        {
            "arch" : "x64",
            "name" : "windows",
            "version" : "10.0.19041.3324 (WinBuild.160101.0800)"
        },
        "ready" : true
    }
}
D 2023-08-23 21:33:53:193 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: POST /session {
  "capabilities": {
    "firstMatch": [
      {
        "browserName": "internet explorer",
        "se:ieOptions": {
          "ie.edgechromium": true,
          "ignoreProtectedModeSettings": true
        }
      }
    ]
  }
}
D 2023-08-23 21:33:53:193 C:\projects\seleniumhq\selenium\cpp\iedriver\IESession.cpp(60) Mutex acquired for session initalization
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\IESession.cpp(116) Releasing session initialization mutex
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "newSession", "locator" : { }, "parameters" : {
  "capabilities": {
    "firstMatch": [
      {
        "browserName": "internet explorer",
        "se:ieOptions": {
          "ie.edgechromium": true,
          "ignoreProtectedModeSettings": true
        }
      }
    ]
  }
} }
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "newSession", "locator" : { }, "parameters" : {
  "capabilities": {
    "firstMatch": [
      {
        "browserName": "internet explorer",
        "se:ieOptions": {
          "ie.edgechromium": true,
          "ignoreProtectedModeSettings": true
        }
      }
    ]
  }
} }
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1059) Executing command: newSession
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\CommandHandlers\NewSessionCommandHandler.cpp(48) Found W3C capabilities structure
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\CommandHandlers\NewSessionCommandHandler.cpp(199) Validating alwaysMatch capability set
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\CommandHandlers\NewSessionCommandHandler.cpp(684) Validating capabilities object
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\CommandHandlers\NewSessionCommandHandler.cpp(220) Validating firstMatch capability set with index 0
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\CommandHandlers\NewSessionCommandHandler.cpp(684) Validating capabilities object
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\CommandHandlers\NewSessionCommandHandler.cpp(733) Found browserName capability. Validating value type is string.
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\CommandHandlers\NewSessionCommandHandler.cpp(1000) Found se:ieOptions capability. Validating value type is object.
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\CommandHandlers\NewSessionCommandHandler.cpp(279) Processing matched capability set with index 0
W 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\CommandHandlers\NewSessionCommandHandler.cpp(105) Invalid capability setting: timeouts is type null instead of object. Default value will be used: null

D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(133) path before was 

D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(135) path after was 

D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(159) Ignoring Protected Mode Settings: 1
D 2023-08-23 21:33:53:197 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(165) Has Valid Protected Mode Settings: 0
D 2023-08-23 21:33:53:204 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(386) Starting Edge Chromium from the command line
D 2023-08-23 21:33:53:277 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(218) Edge in IE Mode launched successfully with process ID 14184
D 2023-08-23 21:33:53:277 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(224) Process with ID 14184 is executing msedge.exe
D 2023-08-23 21:33:53:277 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(507) Using Active Accessibility to find IWebBrowser2 interface
D 2023-08-23 21:33:54:214 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: GET /favicon.ico {}
D 2023-08-23 21:33:54:214 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : 
    {
        "error" : "unknown command",
        "message" : "Command not found: GET /favicon.ico",
        "stacktrace" : ""
    }
}
D 2023-08-23 21:33:54:316 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: GET /favicon.ico {}
D 2023-08-23 21:33:54:316 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : 
    {
        "error" : "unknown command",
        "message" : "Command not found: GET /favicon.ico",
        "stacktrace" : ""
    }
}
D 2023-08-23 21:33:54:348 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(1227) Looking for 14184
D 2023-08-23 21:33:54:348 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(595) Found window handle 000A0634 for window with class 'Internet Explorer_Server' belonging to process with id 14184
D 2023-08-23 21:33:54:377 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(528) Ignoring zoom setting: 1
I 2023-08-23 21:33:54:377 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1604) Persistent hovering set to: 1
D 2023-08-23 21:33:54:377 C:\projects\seleniumhq\selenium\cpp\iedriver\ProxyManager.cpp(119) Using existing system proxy settings.
D 2023-08-23 21:33:54:379 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1062) Command execution for newSession complete
D 2023-08-23 21:33:54:379 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1127) Setting serialized response to {
    "value" : 
    {
        "capabilities" : 
        {
            "acceptInsecureCerts" : false,
            "browserName" : "internet explorer",
            "browserVersion" : "11",
            "pageLoadStrategy" : "normal",
            "platformName" : "windows",
            "proxy" : {},
            "se:ieOptions" : 
            {
                "browserAttachTimeout" : 0,
                "elementScrollBehavior" : 0,
                "enablePersistentHover" : true,
                "ie.browserCommandLineSwitches" : "",
                "ie.edgechromium" : true,
                "ie.edgepath" : "",
                "ie.ensureCleanSession" : false,
                "ie.fileUploadDialogTimeout" : 3000,
                "ie.forceCreateProcessApi" : false,
                "ie.ignoreprocessmatch" : false,
                "ignoreProtectedModeSettings" : true,
                "ignoreZoomSetting" : true,
                "initialBrowserUrl" : "http://localhost:42265/",
                "nativeEvents" : true,
                "requireWindowFocus" : false
            },
            "setWindowRect" : true,
            "strictFileInteractability" : false,
            "timeouts" : 
            {
                "implicit" : 0,
                "pageLoad" : 300000,
                "script" : 30000
            },
            "unhandledPromptBehavior" : "dismiss and notify"
        },
        "sessionId" : "b3590311-3855-408a-ae76-fde19eba3dfe"
    }
}
D 2023-08-23 21:33:54:379 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1128) Is waiting flag: 0
D 2023-08-23 21:33:54:380 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : 
    {
        "capabilities" : 
        {
            "acceptInsecureCerts" : false,
            "browserName" : "internet explorer",
            "browserVersion" : "11",
            "pageLoadStrategy" : "normal",
            "platformName" : "windows",
            "proxy" : {},
            "se:ieOptions" : 
            {
                "browserAttachTimeout" : 0,
                "elementScrollBehavior" : 0,
                "enablePersistentHover" : true,
                "ie.browserCommandLineSwitches" : "",
                "ie.edgechromium" : true,
                "ie.edgepath" : "",
                "ie.ensureCleanSession" : false,
                "ie.fileUploadDialogTimeout" : 3000,
                "ie.forceCreateProcessApi" : false,
                "ie.ignoreprocessmatch" : false,
                "ignoreProtectedModeSettings" : true,
                "ignoreZoomSetting" : true,
                "initialBrowserUrl" : "http://localhost:42265/",
                "nativeEvents" : true,
                "requireWindowFocus" : false
            },
            "setWindowRect" : true,
            "strictFileInteractability" : false,
            "timeouts" : 
            {
                "implicit" : 0,
                "pageLoad" : 300000,
                "script" : 30000
            },
            "unhandledPromptBehavior" : "dismiss and notify"
        },
        "sessionId" : "b3590311-3855-408a-ae76-fde19eba3dfe"
    }
}
D 2023-08-23 21:33:54:462 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: POST /session/b3590311-3855-408a-ae76-fde19eba3dfe/url {
  "url": "https:\u002f\u002fwww.baidu.com"
}
D 2023-08-23 21:33:54:462 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "get", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {
  "url": "https:\u002f\u002fwww.baidu.com"
} }
D 2023-08-23 21:33:54:462 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "get", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {
  "url": "https:\u002f\u002fwww.baidu.com"
} }
D 2023-08-23 21:33:54:462 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1012) Checking for alert before executing get command
D 2023-08-23 21:33:54:462 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1227) No alert handle is found
D 2023-08-23 21:33:54:462 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1059) Executing command: get
D 2023-08-23 21:33:54:471 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1062) Command execution for get complete
D 2023-08-23 21:33:54:471 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1102) Command handler requested wait. This will cause a minimal wait of at least 50 milliseconds.
D 2023-08-23 21:33:54:471 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:54:472 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(60) BeforeNavigate2: Url: https://www.baidu.com/, TargetFrame: 00000000
D 2023-08-23 21:33:54:522 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:54:522 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:54:522 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:54:523 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:54:523 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:54:523 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:54:585 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:54:585 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:54:585 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:54:602 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:54:602 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:54:602 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:54:663 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:54:663 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:54:663 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:54:794 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:54:794 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:54:794 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:54:849 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:54:849 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:54:849 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:54:849 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(634) Browser ReadyState is not at least '4'; it was 3
D 2023-08-23 21:33:54:849 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:54:849 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:54:910 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:54:910 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:54:910 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:54:978 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(645) DocumentComplete event fired, indicating a new navigation.
D 2023-08-23 21:33:55:028 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:55:028 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:55:094 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:55:094 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:55:094 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:55:096 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(658) Waiting for document to complete...
D 2023-08-23 21:33:55:105 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(663) Not in navigating state
D 2023-08-23 21:33:55:105 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(265) Wait complete. Setting serialized response to deferred value {
    "value" : null
}
D 2023-08-23 21:33:55:110 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : null
}
D 2023-08-23 21:33:55:114 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: GET /session/b3590311-3855-408a-ae76-fde19eba3dfe/window {}
D 2023-08-23 21:33:55:114 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "getWindowHandle", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {} }
D 2023-08-23 21:33:55:115 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "getWindowHandle", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {} }
D 2023-08-23 21:33:55:115 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1012) Checking for alert before executing getWindowHandle command
D 2023-08-23 21:33:55:115 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1227) No alert handle is found
D 2023-08-23 21:33:55:115 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1059) Executing command: getWindowHandle
D 2023-08-23 21:33:55:115 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1062) Command execution for getWindowHandle complete
D 2023-08-23 21:33:55:115 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1127) Setting serialized response to {
    "value" : "4dac21c9-0e71-4bcb-96f1-777485543715"
}
D 2023-08-23 21:33:55:115 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1128) Is waiting flag: 0
D 2023-08-23 21:33:55:125 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : "4dac21c9-0e71-4bcb-96f1-777485543715"
}
D 2023-08-23 21:33:55:128 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: GET /session/b3590311-3855-408a-ae76-fde19eba3dfe/window {}
D 2023-08-23 21:33:55:128 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "getWindowHandle", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {} }
D 2023-08-23 21:33:55:129 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "getWindowHandle", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {} }
D 2023-08-23 21:33:55:129 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1012) Checking for alert before executing getWindowHandle command
D 2023-08-23 21:33:55:129 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1227) No alert handle is found
D 2023-08-23 21:33:55:129 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1059) Executing command: getWindowHandle
D 2023-08-23 21:33:55:129 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1062) Command execution for getWindowHandle complete
D 2023-08-23 21:33:55:129 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1127) Setting serialized response to {
    "value" : "4dac21c9-0e71-4bcb-96f1-777485543715"
}
D 2023-08-23 21:33:55:129 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1128) Is waiting flag: 0
D 2023-08-23 21:33:55:141 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : "4dac21c9-0e71-4bcb-96f1-777485543715"
}
D 2023-08-23 21:33:55:144 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: POST /session/b3590311-3855-408a-ae76-fde19eba3dfe/window/new {
  "type": "tab"
}
D 2023-08-23 21:33:55:144 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "newWindow", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {
  "type": "tab"
} }
D 2023-08-23 21:33:55:144 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "newWindow", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {
  "type": "tab"
} }
D 2023-08-23 21:33:55:144 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1012) Checking for alert before executing newWindow command
D 2023-08-23 21:33:55:144 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1227) No alert handle is found
D 2023-08-23 21:33:55:144 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1059) Executing command: newWindow
D 2023-08-23 21:33:55:648 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(1198) Looking for 14888
D 2023-08-23 21:33:55:648 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(507) Using Active Accessibility to find IWebBrowser2 interface
D 2023-08-23 21:33:55:648 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(595) Found window handle 00080694 for window with class 'Internet Explorer_Server' belonging to process with id 14888
D 2023-08-23 21:33:55:687 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(528) Ignoring zoom setting: 1
D 2023-08-23 21:33:55:690 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
I 2023-08-23 21:33:55:690 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(331) Flushing window handle as it is no longer valid
I 2023-08-23 21:33:55:690 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(336) Restore window handle from tab
D 2023-08-23 21:33:55:692 C:\projects\seleniumhq\selenium\cpp\iedriver\BrowserFactory.cpp(1198) Looking for 14888
D 2023-08-23 21:33:55:696 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(658) Waiting for document to complete...
D 2023-08-23 21:33:55:711 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(663) Not in navigating state
D 2023-08-23 21:33:55:712 C:\projects\seleniumhq\selenium\cpp\iedriver\ProxyManager.cpp(119) Using existing system proxy settings.
D 2023-08-23 21:33:55:712 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1062) Command execution for newWindow complete
D 2023-08-23 21:33:55:712 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1127) Setting serialized response to {
    "value" : 
    {
        "handle" : "60c2e88a-6fa9-4f91-b084-76ca2f2ed201",
        "type" : "tab"
    }
}
D 2023-08-23 21:33:55:712 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1128) Is waiting flag: 0
D 2023-08-23 21:33:55:727 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : 
    {
        "handle" : "60c2e88a-6fa9-4f91-b084-76ca2f2ed201",
        "type" : "tab"
    }
}
D 2023-08-23 21:33:55:730 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: POST /session/b3590311-3855-408a-ae76-fde19eba3dfe/window {
  "handle": "60c2e88a-6fa9-4f91-b084-76ca2f2ed201"
}
D 2023-08-23 21:33:55:731 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "switchToWindow", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {
  "handle": "60c2e88a-6fa9-4f91-b084-76ca2f2ed201"
} }
D 2023-08-23 21:33:55:731 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "switchToWindow", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {
  "handle": "60c2e88a-6fa9-4f91-b084-76ca2f2ed201"
} }
D 2023-08-23 21:33:55:731 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1012) Checking for alert before executing switchToWindow command
D 2023-08-23 21:33:55:731 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1227) No alert handle is found
D 2023-08-23 21:33:55:731 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1059) Executing command: switchToWindow
D 2023-08-23 21:33:55:836 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1062) Command execution for switchToWindow complete
D 2023-08-23 21:33:55:836 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1102) Command handler requested wait. This will cause a minimal wait of at least 50 milliseconds.
D 2023-08-23 21:33:55:836 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:55:897 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:55:898 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:55:898 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:55:904 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(658) Waiting for document to complete...
D 2023-08-23 21:33:55:932 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(663) Not in navigating state
D 2023-08-23 21:33:55:933 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(265) Wait complete. Setting serialized response to deferred value {
    "value" : null
}
D 2023-08-23 21:33:55:944 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : null
}
D 2023-08-23 21:33:55:951 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: POST /session/b3590311-3855-408a-ae76-fde19eba3dfe/url {
  "url": "https:\u002f\u002flizhi.shop"
}
D 2023-08-23 21:33:55:951 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "get", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {
  "url": "https:\u002f\u002flizhi.shop"
} }
D 2023-08-23 21:33:55:951 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "get", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {
  "url": "https:\u002f\u002flizhi.shop"
} }
D 2023-08-23 21:33:55:951 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1012) Checking for alert before executing get command
D 2023-08-23 21:33:55:951 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1227) No alert handle is found
D 2023-08-23 21:33:55:951 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1059) Executing command: get
D 2023-08-23 21:33:55:964 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1062) Command execution for get complete
D 2023-08-23 21:33:55:964 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1102) Command handler requested wait. This will cause a minimal wait of at least 50 milliseconds.
D 2023-08-23 21:33:55:964 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:55:965 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(60) BeforeNavigate2: Url: https://lizhi.shop/, TargetFrame: 00000000
D 2023-08-23 21:33:56:022 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:022 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:022 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:022 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:022 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:022 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:084 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:085 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:085 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:085 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:085 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:085 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:148 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:148 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:148 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:148 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:148 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:148 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:210 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:210 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:210 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:211 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:211 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:211 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:271 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:271 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:271 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:272 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:272 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:272 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:333 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:333 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:333 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:333 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:334 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:334 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:395 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:395 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:395 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:396 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:396 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:396 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:457 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:457 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:457 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:458 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:458 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:458 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:542 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:542 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:542 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:543 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:543 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:543 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:612 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:612 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:612 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:612 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:612 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:612 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:675 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:675 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:675 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:676 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:676 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:676 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:737 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:737 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:737 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:738 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:738 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:738 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:804 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:804 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:804 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:804 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:804 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:804 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:860 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:860 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:860 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:860 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:860 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:860 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:922 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:922 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:922 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:923 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:923 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:923 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:56:985 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:56:985 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:56:985 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:56:985 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:56:985 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:56:985 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:57:047 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:57:047 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:57:047 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:57:047 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:57:047 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:57:047 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:57:108 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:57:108 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:57:108 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:57:109 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:57:109 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:57:109 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:57:169 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:57:169 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:57:169 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:57:170 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:57:170 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:57:170 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:57:232 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:57:232 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:57:232 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:57:300 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:57:300 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:57:300 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:57:358 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:57:358 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:57:358 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:57:682 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(60) BeforeNavigate2: Url: javascript:false, TargetFrame: 00000000
D 2023-08-23 21:33:57:682 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:57:682 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:57:682 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:57:745 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:57:745 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:57:745 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:57:783 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(60) BeforeNavigate2: Url: https://webpage.qidian.qq.com/qidian/chatv3/pc.html, TargetFrame: 00000000
D 2023-08-23 21:33:57:783 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:57:783 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:57:783 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:57:787 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(60) BeforeNavigate2: Url: https://webpage.qidian.qq.com/qidian/chatv3/statusManager/index.html?kfuin=2852160860, TargetFrame: 00000000
D 2023-08-23 21:33:57:840 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:57:841 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:57:841 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:57:900 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(634) Browser ReadyState is not at least '4'; it was 3
D 2023-08-23 21:33:57:900 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:57:900 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:57:945 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(60) BeforeNavigate2: Url: javascript:false, TargetFrame: 00000000
D 2023-08-23 21:33:57:964 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:57:964 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:57:964 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:58:029 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(614) Browser busy property is true.
D 2023-08-23 21:33:58:029 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:58:029 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:58:088 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:58:088 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:58:088 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:58:329 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(634) Browser ReadyState is not at least '4'; it was 3
D 2023-08-23 21:33:58:330 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:58:330 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:58:396 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:58:396 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:58:396 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:58:502 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(634) Browser ReadyState is not at least '4'; it was 3
D 2023-08-23 21:33:58:502 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(257) Wait not complete. Scheduling another wait cycle.
D 2023-08-23 21:33:58:502 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:58:567 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:58:567 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:58:567 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:58:569 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(658) Waiting for document to complete...
D 2023-08-23 21:33:58:611 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(663) Not in navigating state
D 2023-08-23 21:33:58:612 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(265) Wait complete. Setting serialized response to deferred value {
    "value" : null
}
D 2023-08-23 21:33:58:613 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : null
}
D 2023-08-23 21:33:58:617 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: POST /session/b3590311-3855-408a-ae76-fde19eba3dfe/window {
  "handle": "4dac21c9-0e71-4bcb-96f1-777485543715"
}
D 2023-08-23 21:33:58:617 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "switchToWindow", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {
  "handle": "4dac21c9-0e71-4bcb-96f1-777485543715"
} }
D 2023-08-23 21:33:58:617 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "switchToWindow", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {
  "handle": "4dac21c9-0e71-4bcb-96f1-777485543715"
} }
D 2023-08-23 21:33:58:617 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1012) Checking for alert before executing switchToWindow command
D 2023-08-23 21:33:58:617 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1227) No alert handle is found
D 2023-08-23 21:33:58:617 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1059) Executing command: switchToWindow
D 2023-08-23 21:33:58:720 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1062) Command execution for switchToWindow complete
D 2023-08-23 21:33:58:720 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1102) Command handler requested wait. This will cause a minimal wait of at least 50 milliseconds.
D 2023-08-23 21:33:58:720 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1161) Creating wait thread with deferred response of `{
    "value" : null
}`
D 2023-08-23 21:33:58:781 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(224) Starting wait cycle.
D 2023-08-23 21:33:58:781 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(248) Beginning wait.
D 2023-08-23 21:33:58:781 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(598) Navigate Events Completed.
D 2023-08-23 21:33:58:784 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(658) Waiting for document to complete...
D 2023-08-23 21:33:58:793 C:\projects\seleniumhq\selenium\cpp\iedriver\Browser.cpp(663) Not in navigating state
D 2023-08-23 21:33:58:794 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(265) Wait complete. Setting serialized response to deferred value {
    "value" : null
}
D 2023-08-23 21:33:58:797 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : null
}
D 2023-08-23 21:33:58:799 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(343) Command: GET /session/b3590311-3855-408a-ae76-fde19eba3dfe/title {}
D 2023-08-23 21:33:58:800 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "getTitle", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {} }
D 2023-08-23 21:33:58:800 C:\projects\seleniumhq\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "getTitle", "locator" : { "sessionid" : "b3590311-3855-408a-ae76-fde19eba3dfe" }, "parameters" : {} }
D 2023-08-23 21:33:58:800 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1012) Checking for alert before executing getTitle command
D 2023-08-23 21:33:58:800 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1227) No alert handle is found
D 2023-08-23 21:33:58:800 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1059) Executing command: getTitle
D 2023-08-23 21:33:58:802 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1062) Command execution for getTitle complete
D 2023-08-23 21:33:58:802 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1127) Setting serialized response to {
    "value" : "\u767e\u5ea6\u4e00\u4e0b\uff0c\u4f60\u5c31\u77e5\u9053"
}
D 2023-08-23 21:33:58:802 C:\projects\seleniumhq\selenium\cpp\iedriver\IECommandExecutor.cpp(1128) Is waiting flag: 0
D 2023-08-23 21:33:58:812 C:\projects\seleniumhq\selenium\cpp\webdriver-server\server.cc(426) Response: {
    "value" : "\u767e\u5ea6\u4e00\u4e0b\uff0c\u4f60\u5c31\u77e5\u9053"
}

Operating System

Windows 10

Selenium version

Java 4.11.0

What are the browser(s) and version(s) where you see this issue?

Edge 116.0.1938.54, IE 11

What are the browser driver(s) and version(s) where you see this issue?

IEDriverServer_Win32_4.11.0

Are you using Selenium Grid?

No

github-actions[bot] commented 1 year ago

@zhuyuemings, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

titusfortner commented 1 year ago

I'm pretty sure this is fixed in 4.12. Really hoping we can get that released soon to address all of these. :)

diemol commented 1 year ago

There wasn't anything done in 4.12 for this. To be more precise, this is a known limitation: https://learn.microsoft.com/en-us/microsoft-edge/webdriver-chromium/ie-mode?tabs=c-sharp#opening-new-windows.

I will close this because Microsoft documents the workaround.

zhuyuemings commented 1 year ago

There wasn't anything done in 4.12 for this. To be more precise, this is a known limitation: https://learn.microsoft.com/en-us/microsoft-edge/webdriver-chromium/ie-mode?tabs=c-sharp#opening-new-windows.

I will close this because Microsoft documents the workaround.

how do i store a copy of the tab's window handle? not driver.getWindowHandle() returned?

When using Microsoft Edge in IE mode, if your test switches focus away from a certain tab and you would like to be able to switch back to that tab later, you must store a copy of the tab's window handle.

diemol commented 1 year ago

In a variable. If you have more questions, I will leave some links below.

github-actions[bot] commented 1 year ago

๐Ÿ’ฌ Please ask questions at:

zhuyuemings commented 1 year ago

In a variable. If you have more questions, I will leave some links below.

but i already stored, but switchToWindow failed, any thing wrong with my code?

driver.get("https://www.baidu.com");
// stored
String windowId = driver.getWindowHandle();
driver.switchTo().newWindow(WindowType.TAB);
driver.get("https://lizhi.shop");
// switchToWindow failed
driver.switchTo().window(windowId);
String title = driver.getTitle();

i dont think this is a known limitation, @titusfortner do you think so?

diemol commented 1 year ago

Did you check the code samples in the Microsoft documentation?

zhuyuemings commented 1 year ago

Did you check the code samples in the Microsoft documentation?

sorry, i didn't find any samples code in Microsoft documentation,

the question is i use selenium-java and selenium's IEDriverServer, how do i use any other code?

diemol commented 1 year ago

If you open the URL I shared above

https://learn.microsoft.com/en-us/microsoft-edge/webdriver-chromium/ie-mode?tabs=c-sharp#opening-new-windows

You will see this: image

zhuyuemings commented 1 year ago

If you open the URL I shared above

https://learn.microsoft.com/en-us/microsoft-edge/webdriver-chromium/ie-mode?tabs=c-sharp#opening-new-windows

You will see this: image

i read this, but this is not the problem i meet. the return value of driver.getWindowHandles() is correct, and i already switch success. the problem is i got the title from Tab1, but the browser is still displays Tab2. could you please read my issue again?

diemol commented 1 year ago

Then I advise to report this to Microsoft.

github-actions[bot] commented 1 year ago

Hi, @zhuyuemings. This issue has been determined to require fixes in MSEdgeDriver or in the IE Mode in Edge.

You can see if the feature is passing in the Web Platform Tests.

If it is something new, please create an Issue with the MSEdgeDriver team.

Feel free to comment the issues that you raise back in this issue. Thank you.

github-actions[bot] commented 9 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.