File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
javascript/node/selenium-webdriver Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 23
23
module to break a circular dependency.
24
24
* Added support for setting the username and password in basic auth pop-up
25
25
dialogs (currently IE only).
26
+ * Deprecated ` WebElement#getInnerHtml() ` and ` WebEleemnt#getOuterHtml() `
26
27
* FIXED: ` io.findInPath() ` will no longer match against directories that have
27
28
the same basename as the target file.
28
29
* FIXED: ` phantomjs.Driver ` now takes a third argument that defines the path to
Original file line number Diff line number Diff line change @@ -2135,6 +2135,7 @@ class WebElement {
2135
2135
* Schedules a command to retrieve the outer HTML of this element.
2136
2136
* @return {!promise.Promise<string> } A promise that will be
2137
2137
* resolved with the element's outer HTML.
2138
+ * @deprecated Use {@link WebDriver#executeScript()}
2138
2139
*/
2139
2140
getOuterHtml ( ) {
2140
2141
return this . driver_ . executeScript ( function ( ) {
@@ -2153,6 +2154,7 @@ class WebElement {
2153
2154
* Schedules a command to retrieve the inner HTML of this element.
2154
2155
* @return {!promise.Promise<string> } A promise that will be
2155
2156
* resolved with the element's inner HTML.
2157
+ * @deprecated Use {@link WebDriver#executeScript()}
2156
2158
*/
2157
2159
getInnerHtml ( ) {
2158
2160
return this . driver_ . executeScript ( 'return arguments[0].innerHTML' , this ) ;
You can’t perform that action at this time.
0 commit comments