Skip to content

Commit

Permalink
Fixed finding elements where native CSS selector engine cannot be found
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Jan 22, 2016
1 parent b4330a4 commit 1e8854f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions cpp/iedriver/ElementFinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ int ElementFinder::FindElementsUsingSizzle(const IECommandExecutor& executor,
get_element_count_script_wrapper.AddArgument(snapshot);
result = get_element_count_script_wrapper.Execute();
if (result == WD_SUCCESS) {
*found_elements = Json::Value(Json::arrayValue);
if (!get_element_count_script_wrapper.ResultIsInteger()) {
LOG(WARN) << "Found elements count is not integer";
result = EUNEXPECTEDJSERROR;
Expand Down
4 changes: 4 additions & 0 deletions cpp/iedriverserver/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ 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.49.0.2
=========
* Fixed finding elements where native CSS selector engine cannot be found.

v2.49.0.1
=========
* Updates to JavaScript automation atoms.
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 1e8854f

Please sign in to comment.