Skip to content

Commit 90b4c3a

Browse files
committed
remove unnecassary console.log output
1 parent bce437c commit 90b4c3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webdriver-ts/src/webdriverAccess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function findByXPath(node: WebElement, path: string): Promise<WebElement>
4242
for (let p of paths) {
4343
// n = n.then(nd => nd.findElements(By.tagName(p.tagName))).then(elems => { // costly since it fetches all elements
4444
let elems = await n.findElements(By.css(p.tagName+":nth-child("+(p.index)+")"));
45-
if (elems==null || elems.length==0) { console.log("not found"); return null};
45+
if (elems==null || elems.length==0) { return null};
4646
n = elems[0];
4747
}
4848
} catch (e) {

0 commit comments

Comments
 (0)