Skip to content

Commit

Permalink
Corrected number of script arguments in InputManager::SendKeystrokes.
Browse files Browse the repository at this point in the history
In a recent refactor, this code was slightly changed, and the declaration of a
Script object was expecting three arguments instead of the required four.
Fixes issue SeleniumHQ#5502.
  • Loading branch information
jimevans committed Apr 15, 2013
1 parent a3ec202 commit 4eb3f7f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/IEDriver/InputManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ int InputManager::SendKeystrokes(BrowserHandle browser_wrapper, Json::Value keys

CComPtr<IHTMLDocument2> doc;
browser_wrapper->GetDocument(&doc);
Script script_wrapper(doc, script_source, 3);
Script script_wrapper(doc, script_source, 4);

script_wrapper.AddNullArgument();
script_wrapper.AddArgument(keys);
Expand Down
7 changes: 7 additions & 0 deletions cpp/IEDriverServer/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ available via the project downloads page. Changes in "revision" field indicate
private releases checked into the prebuilts directory of the source tree, but
not made generally available on the downloads page.

v2.32.3.0
=========
* Corrected number of script arguments in InputManager::SendKeystrokes. In a
recent refactor, this code was slightly changed, and the declaration of a
Script object was expecting three arguments instead of the required four.
Fixes issue #5502.

v2.32.2.0
=========
* Corrected logic error in reading TabProcGrowth registry value. The
Expand Down
Binary file modified cpp/IEDriverServer/IEDriverServer.rc
Binary file not shown.
Binary file modified cpp/prebuilt/Win32/Release/IEDriverServer.exe
Binary file not shown.
Binary file modified cpp/prebuilt/x64/Release/IEDriverServer.exe
Binary file not shown.

0 comments on commit 4eb3f7f

Please sign in to comment.