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"
This commit is contained in:
Ulhas Deshmukh
2019-06-03 07:54:05 -04:00
committed by Isaac A. Murchie
parent 8cda72666a
commit fbb6e2ea1a
+1 -1
View File
@@ -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();