From fbb6e2ea1a925ed289d4cdfd83e2a04563962b6d Mon Sep 17 00:00:00 2001 From: Ulhas Deshmukh Date: Mon, 3 Jun 2019 17:24:05 +0530 Subject: [PATCH] updated python code for example usage (#12712) python code to get title in example usage is incorrect, it was throwing error as "TypeError: 'str' object is not callable" --- commands-yml/commands/web/window/title.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands-yml/commands/web/window/title.yml b/commands-yml/commands/web/window/title.yml index f31c611c9..0cf347967 100644 --- a/commands-yml/commands/web/window/title.yml +++ b/commands-yml/commands/web/window/title.yml @@ -8,7 +8,7 @@ example_usage: String title = driver.getTitle(); python: | - title = self.driver.title() + title = self.driver.title javascript_wd: | let title = await driver.title();