Skip to content

Commit 94bc66e

Browse files
committed
Fixed crashing bug in obscured element detection.
1 parent 52b5348 commit 94bc66e

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

cpp/iedriver/Element.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ bool Element::IsObscured(LocationInfo* click_location,
262262
hr = this->element_->QueryInterface<IHTMLDOMNode>(&node);
263263
if (SUCCEEDED(hr) && node) {
264264
CComPtr<IHTMLCSSStyleDeclaration> computed_style;
265-
hr = window7->getComputedStyle(node, L"", &computed_style);
265+
hr = window7->getComputedStyle(node, NULL, &computed_style);
266266
if (SUCCEEDED(hr) && computed_style) {
267267
CComBSTR pointer_events_value = L"";
268268
hr = computed_style->get_pointerEvents(&pointer_events_value);

cpp/iedriverserver/CHANGELOG

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ available via the project downloads page. Changes in "revision" field indicate
99
private releases checked into the prebuilts directory of the source tree, but
1010
not made generally available on the downloads page.
1111

12+
v3.13.0.3
13+
=========
14+
* Fixed crashing bug in obscured element detection.
15+
* Modified to extract IE internal library to IEDriver.tmp first.
16+
If the file IEDriver.tmp exists in the destination directory, then use
17+
the result of the `GetTempFileName` API, which results in a file named
18+
"IEDxxxxx.tmp" where "xxxxx" is a random number.
19+
* Added version resources to internal IE driver library.
20+
1221
v3.13.0.2
1322
=========
1423
* Modified to prevent keyup actions if key is not already down for IE.

cpp/iedriverserver/IEDriverServer.rc

+5-5
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ END
5050
//
5151

5252
VS_VERSION_INFO VERSIONINFO
53-
FILEVERSION 3,13,0,2
54-
PRODUCTVERSION 3,13,0,2
53+
FILEVERSION 3,13,0,3
54+
PRODUCTVERSION 3,13,0,3
5555
FILEFLAGSMASK 0x3fL
5656
#ifdef _DEBUG
5757
FILEFLAGS 0x1L
@@ -68,12 +68,12 @@ BEGIN
6868
BEGIN
6969
VALUE "CompanyName", "Software Freedom Conservancy"
7070
VALUE "FileDescription", "Command line server for the IE driver"
71-
VALUE "FileVersion", "3.13.0.2"
71+
VALUE "FileVersion", "3.13.0.3"
7272
VALUE "InternalName", "IEDriverServer.exe"
73-
VALUE "LegalCopyright", "Copyright (C) 2017"
73+
VALUE "LegalCopyright", "Copyright (C) 2018"
7474
VALUE "OriginalFilename", "IEDriverServer.exe"
7575
VALUE "ProductName", "Selenium WebDriver"
76-
VALUE "ProductVersion", "3.13.0.2"
76+
VALUE "ProductVersion", "3.13.0.3"
7777
END
7878
END
7979
BLOCK "VarFileInfo"
Binary file not shown.
2 KB
Binary file not shown.

0 commit comments

Comments
 (0)