-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewriting IE driver file upload dialog handling code.
Previously, the IE driver would use simple window handling and Windows APIs to find and manipulate the IE file selection dialog for the file upload case. With this change, the driver now uses the Windows UI Automation library that ships as part of the Windows operating system to detect and manipulate the dialog. Unfortunately, since handling native dialogs this way is highly OS-dependent, there may be changes in behavior based on different versions of Windows, or different versions of IE. At the moment, this change has been tested against Windows 10, and IE 11. Other versions may not work exactly the same. Temporarily, to retain backward compatibility, it's possible to use the legacy handling with the file upload dialog box. This can be set by setting a capability of "ie.useLegacyFileUploadDialogHandling" to true. This capability is only intended to be provided temporarily, and will be removed as soon as is practical. As such, the capability is not documented, and its presence should not be relied on over the long term. It should be pointed out that, as has been the case since July 2016, the driver now only supports IE versions 9, 10, and 11, and only supports Windows Vista and above.
- Loading branch information
Showing
10 changed files
with
953 additions
and
556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
390 changes: 368 additions & 22 deletions
390
cpp/iedriver/CommandHandlers/SendKeysCommandHandler.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.